android_kernel_oneplus_msm8998/sound/soc
Gustavo A. R. Silva dfb3a6a31f ASoC: spear: fix error return code in spdif_in_probe()
[ Upstream commit 27d30400c448264c1ac9434cb836de0c230af213 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-11-10 07:41:40 -08:00
..
adi
atmel ASoC: atmel-classd: fix audio clock rate 2017-04-08 09:53:31 +02:00
au1x ASoC: au1x: Fix timeout tests in au1xac97c_ac97_read() 2018-05-30 07:48:52 +02:00
bcm
blackfin
cirrus ASoC: cirrus: i2s: Fix {TX|RX}LinCtrlData setup 2018-07-03 11:21:27 +02:00
codecs ASoC: wm8940: Enable cache usage to fix crashes on resume 2018-11-10 07:41:37 -08:00
davinci
dwc
fsl ASoC: fsl_esai: Fix divisor calculation failure at lower ratio 2018-05-02 07:53:42 -07:00
generic ASoC: simple-card: Fix misleading error message 2018-02-16 20:09:36 +01:00
intel ASoC: Intel: cht_bsw_max98090_ti: Fix jack initialization 2018-08-17 20:56:45 +02:00
jz4740
kirkwood
mediatek ASoC: mediatek: add i2c dependency 2018-02-25 11:03:48 +01:00
mxs
nuc900 ASoC: nuc900: Fix a loop timeout test 2018-03-22 09:23:29 +01:00
omap ASoC: omap-mcpdm: Fix irq resource handling 2016-10-07 15:23:46 +02:00
pxa ASoC: pxa: Fix module autoload for platform drivers 2018-08-06 16:24:40 +02:00
qcom
rockchip ASoC: rockchip: use __maybe_unused to hide st_irq_syscfg_resume 2018-02-25 11:03:49 +01:00
samsung ASoC: samsung: i2s: Ensure the RCLK rate is properly determined 2018-05-30 07:49:17 +02:00
sh ASoC: rsnd: SSI PIO adjust to 24bit mode 2018-04-13 19:50:11 +02:00
sirf ASoC: sirf: Fix potential NULL pointer dereference 2018-09-05 09:18:39 +02:00
spear ASoC: spear: fix error return code in spdif_in_probe() 2018-11-10 07:41:40 -08:00
sti
sunxi ASoC: sun4i-codec: return error code instead of NULL when create_card fails 2016-11-18 10:48:37 +01:00
tegra
txx9
ux500 ASoC: ux500: add MODULE_LICENSE tag 2018-02-25 11:03:37 +01:00
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-cache.c
soc-compress.c ASoC: compress: Derive substream from stream based on direction 2017-07-27 15:06:04 -07:00
soc-core.c ASoC: Fix use-after-free at card unregistration 2017-06-14 13:16:26 +02:00
soc-dapm.c ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs 2018-10-10 08:52:07 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c ASoC: dpcm: don't merge format from invalid codec dai 2018-09-05 09:18:39 +02:00
soc-topology.c ASoC: topology: create TLV data for dapm widgets 2018-05-30 07:49:12 +02:00
soc-utils.c