summaryrefslogtreecommitdiffstats
path: root/sound/soc/kirkwood
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-10-23 17:46:59 +0200
committerMark Brown <broonie@kernel.org>2019-10-23 18:46:52 +0200
commit175fc928198236037174e5c5c066fe3c4691903e (patch)
treea7bcc71c074916ef7ec629f4aeb33aff3a13d2d4 /sound/soc/kirkwood
parentASoC: SOF: Intel: initial support to JasperLake. (diff)
downloadlinux-175fc928198236037174e5c5c066fe3c4691903e.tar.xz
linux-175fc928198236037174e5c5c066fe3c4691903e.zip
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>
Diffstat (limited to 'sound/soc/kirkwood')
-rw-r--r--sound/soc/kirkwood/kirkwood-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c
index 42bbb7ea20b5..e28fb3449f1d 100644
--- a/sound/soc/kirkwood/kirkwood-dma.c
+++ b/sound/soc/kirkwood/kirkwood-dma.c
@@ -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