linux-stable/sound/pci/hda
Jiajun Cao 8c13212443 ALSA: hda: Add IRQ check for platform_get_irq()
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>
2021-06-22 16:12:03 +02:00
..
ca0132_regs.h
hda_auto_parser.c ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
hda_auto_parser.h ALSA: hda/cirrus: Increase AUTO_CFG_MAX_INS from 8 to 18 2021-03-07 09:17:30 +01:00
hda_beep.c ALSA: Use fallthrough pseudo-keyword 2020-07-09 13:01:29 +02:00
hda_beep.h
hda_bind.c ALSA: hda: Avoid spurious unsol event handling during S3/S4 2021-03-10 12:51:49 +01:00
hda_codec.c ALSA: hda: update the power_state during the direct-complete 2021-06-03 09:40:28 +02:00
hda_controller.c ALSA: hda: Drop the BATCH workaround for AMD controllers 2021-03-08 17:09:25 +01:00
hda_controller.h ALSA: hda: Separate runtime and system suspend 2020-10-28 09:43:08 +01:00
hda_controller_trace.h
hda_eld.c ALSA: Convert strlcpy to strscpy when return value is unused 2021-01-08 09:30:05 +01:00
hda_generic.c Merge branch 'for-linus' into for-next 2021-06-08 14:02:06 +02:00
hda_generic.h ALSA: HDA - remove the custom implementation for the audio LED trigger 2021-03-30 15:35:15 +02:00
hda_hwdep.c
hda_intel.c ALSA: hda: Add AlderLake-M PCI ID 2021-05-30 09:33:08 +02:00
hda_intel.h ALSA: hda: Release resources at error in delayed probe 2020-04-13 18:02:36 +02:00
hda_intel_trace.h
hda_jack.c ALSA: add virtio sound driver 2021-03-07 09:16:24 +01:00
hda_jack.h ALSA: hda - bind headset buttons to the headphone jack 2021-03-05 15:18:24 +01:00
hda_local.h ALSA: control - add generic LED API 2021-03-30 17:42:40 +02:00
hda_proc.c ALSA: hda/proc - print DP-MST connections 2020-12-08 20:04:33 +01:00
hda_sysfs.c ALSA: hda: Fix regressions on clear and reconfig sysfs 2020-12-10 19:55:35 +01:00
hda_tegra.c ALSA: hda: Add IRQ check for platform_get_irq() 2021-06-22 16:12:03 +02:00
hp_x360_helper.c
ideapad_s740_helper.c ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740 2021-04-16 10:12:50 +02:00
Kconfig ALSA: HDA - remove the custom implementation for the audio LED trigger 2021-03-30 15:35:15 +02:00
Makefile
patch_analog.c ALSA: hda/analog - Minor optimization for SPDIF mux connections 2020-01-16 17:29:17 +01:00
patch_ca0110.c ALSA: hda: Unify get_response handling 2019-12-13 14:36:52 +01:00
patch_ca0132.c ALSA: hda/ca0132: Make a const array static, makes object smaller 2021-05-27 08:25:54 +02:00
patch_cirrus.c ALSA: hda/cirrus: Set Initial DMIC volume to -26 dB 2021-06-01 08:21:10 +02:00
patch_cmedia.c
patch_conexant.c ALSA: hda/conexant: Re-order CX5066 quirk table entries 2021-04-28 15:08:24 +02:00
patch_hdmi.c ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume 2021-04-16 16:01:21 +02:00
patch_realtek.c ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D 2021-06-20 09:00:31 +02:00
patch_si3054.c
patch_sigmatel.c ALSA: HDA - remove the custom implementation for the audio LED trigger 2021-03-30 15:35:15 +02:00
patch_via.c ALSA: hda/via: Apply the workaround generically for Clevo machines 2021-01-26 18:05:03 +01:00
thinkpad_helper.c ALSA: HDA - remove the custom implementation for the audio LED trigger 2021-03-30 15:35:15 +02:00