linux/sound/soc/spear
Gustavo A. R. Silva 27d30400c4 ASoC: spear: fix error return code in spdif_in_probe()
platform_get_irq() returns an error code, but the spdif_in driver
ignores it and always returns -EINVAL. This is not correct, and
prevents -EPROBE_DEFER from being propagated properly.

Notice that platform_get_irq() no longer returns 0 on error:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af

Print error message and propagate the return value of platform_get_irq
on failure.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-07-17 12:06:04 +01:00
..
Kconfig ASoC: SPEAr: Make SND_SPEAR_SOC select SND_SOC_GENERIC_DMAENGINE_PCM 2015-09-14 18:37:25 +01:00
Makefile ASoC: spear: Normalise module names 2013-06-17 11:18:24 +01:00
spdif_in_regs.h
spdif_in.c ASoC: spear: fix error return code in spdif_in_probe() 2017-07-17 12:06:04 +01:00
spdif_out_regs.h ASoC: SPEAr spdif_out: Add spdif out support 2012-07-04 12:34:28 +01:00
spdif_out.c ASoC: spear: drop owner assignment from platform_drivers 2014-10-20 16:22:14 +02:00
spear_pcm.c ASoC: spear_pcm: Use devm_snd_dmaengine_pcm_register to fix resource leak 2015-08-30 12:13:00 +01:00
spear_pcm.h ASoC: SPEAr: remove custom DMA alloc compat function 2013-12-18 18:55:06 +00:00