linux-stable/sound/pci
Jiajun Cao a7970a03e3 ALSA: hda: Add IRQ check for platform_get_irq()
[ Upstream commit 8c13212443 ]

The function hda_tegra_first_init() neglects to check the return
value after executing platform_get_irq().

hda_tegra_first_init() should check the return value (if negative
error number) for errors so as to not pass a negative value to
the devm_request_irq().

Fix it by adding a check for the return value irq_id.

Signed-off-by: Jiajun Cao <jjcao20@fudan.edu.cn>
Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210622131947.94346-1-jjcao20@fudan.edu.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:16:10 +02:00
..
ac97
ali5451
asihpi ALSA: asihpi: fix iounmap in error handler 2020-10-01 13:14:53 +02:00
au88x0
aw2
ca0106 ALSA: ca0106: fix error code handling 2020-09-09 19:04:30 +02:00
cs46xx ALSA: pci: delete repeated words in comments 2020-09-03 11:24:17 +02:00
cs5535audio
ctxfi ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits 2021-03-11 14:05:00 +01:00
echoaudio ALSA: echoaudio: Fix potential Oops in snd_echo_resume() 2020-08-21 11:05:38 +02:00
emu10k1 ALSA: emu10k1: Fix potential Spectre v1 vulnerabilities 2019-01-09 17:38:36 +01:00
hda ALSA: hda: Add IRQ check for platform_get_irq() 2021-07-20 16:16:10 +02:00
ice1712 ALSA: pci: delete repeated words in comments 2020-09-03 11:24:17 +02:00
korg1212
lola
lx6464es ALSA: lx6464es - add support for LX6464ESe pci express variant 2020-06-22 09:05:24 +02:00
mixart ALSA: mixart: Fix mutex deadlock 2020-11-24 13:27:24 +01:00
nm256
oxygen ALSA: pci: delete repeated words in comments 2020-09-03 11:24:17 +02:00
pcxhr
riptide
rme9652 ALSA: rme9652: don't disable if not enabled 2021-05-22 10:59:40 +02:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c
intel8x0m.c ALSA: intel8x0m: Register irq handler after register initializations 2019-11-20 18:46:34 +01:00
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c