Commit 175fc928 authored by Russell King's avatar Russell King Committed by Mark Brown

ASoC: kirkwood: fix IRQ error handling

Propagate the error code from request_irq(), rather than returning
-EBUSY.
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1iNIqh-0000tW-EZ@rmk-PC.armlinux.org.ukSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6fd99035
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment