1
0
Fork 0

ASoC: kirkwood: fix IRQ error handling

Propagate the error code from request_irq(), rather than returning
-EBUSY.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1iNIqh-0000tW-EZ@rmk-PC.armlinux.org.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
alistair/sunxi64-5.5-dsi
Russell King 2019-10-23 16:46:59 +01:00 committed by Mark Brown
parent 6fd9903527
commit 175fc92819
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ static int kirkwood_dma_open(struct snd_soc_component *component,
err = request_irq(priv->irq, kirkwood_dma_irq, IRQF_SHARED,
"kirkwood-i2s", priv);
if (err)
return -EBUSY;
return err;
/*
* Enable Error interrupts. We're only ack'ing them but