projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fd9903
)
ASoC: kirkwood: fix IRQ error handling
author
Russell King
<rmk+kernel@armlinux.org.uk>
Wed, 23 Oct 2019 15:46:59 +0000
(16:46 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 23 Oct 2019 16:46:52 +0000
(17:46 +0100)
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>
sound/soc/kirkwood/kirkwood-dma.c
patch
|
blob
|
history
diff --git
a/sound/soc/kirkwood/kirkwood-dma.c
b/sound/soc/kirkwood/kirkwood-dma.c
index 42bbb7ea20b54309441a25de85f0317f9a9fa424..e28fb3449f1df86e3242350ced152d50f1e879b8 100644
(file)
--- 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