mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ASoC: meson: axg-fifo: report interrupt request failure
[ Upstream commitdadfab7272] Return value of request_irq() was irgnored. Fix this and report the failure if any Fixes:6dc4fa179f("ASoC: meson: add axg fifo base driver") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> 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
aac9381b2c
commit
bdb7368ac3
@@ -203,6 +203,8 @@ static int axg_fifo_pcm_open(struct snd_pcm_substream *ss)
|
||||
|
||||
ret = request_irq(fifo->irq, axg_fifo_pcm_irq_block, 0,
|
||||
dev_name(dev), ss);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* Enable pclk to access registers and clock the fifo ip */
|
||||
ret = clk_prepare_enable(fifo->pclk);
|
||||
|
||||
Reference in New Issue
Block a user