mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ASoC: kirkwood: fix IRQ error handling
[ Upstream commit 175fc92819 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ef488886e3
commit
7f775c06ee
@@ -136,7 +136,7 @@ static int kirkwood_dma_open(struct snd_pcm_substream *substream)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user