linux/sound/pci/hda
Kai Vehmanen 0c0fe9e6b9 ALSA: hda: hdmi - fix kernel oops caused by invalid PCM idx
Add additional check in hdmi_find_pcm_slot() to not return
a pcm index that points to unallocated pcm. This could happen
if codec driver is set up in codec->mst_no_extra_pcms mode.
On some platforms, this leads to a kernel oops in snd_ctl_notify(),
called via update_eld().

BugLink: https://github.com/thesofproject/linux/issues/1536
Fixes: 5398e94fb7 ALSA: hda - Add DP-MST support for NVIDIA codecs
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20191129143756.23941-1-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-11-29 15:41:35 +01:00
..
ca0132_regs.h
hda_auto_parser.c
hda_auto_parser.h
hda_beep.c
hda_beep.h
hda_bind.c
hda_codec.c
hda_controller_trace.h
hda_controller.c ALSA: pci: Drop superfluous snd_pcm_sgbuf_ops_page 2019-11-06 15:47:43 +01:00
hda_controller.h
hda_eld.c
hda_generic.c
hda_generic.h
hda_hwdep.c
hda_intel_trace.h
hda_intel.c ALSA: hda/hdmi - enable runtime pm for newer AMD display audio 2019-11-26 16:54:57 +01:00
hda_intel.h
hda_jack.c ALSA: hda - Add DP-MST jack support 2019-11-19 11:51:07 +01:00
hda_jack.h ALSA: hda - Add DP-MST jack support 2019-11-19 11:51:07 +01:00
hda_local.h
hda_proc.c
hda_sysfs.c
hda_tegra.c
hp_x360_helper.c
Kconfig
Makefile
patch_analog.c
patch_ca0110.c
patch_ca0132.c
patch_cirrus.c
patch_cmedia.c
patch_conexant.c ALSA: hda - Add mute led support for HP ProBook 645 G4 2019-11-20 09:42:52 +01:00
patch_hdmi.c ALSA: hda: hdmi - fix kernel oops caused by invalid PCM idx 2019-11-29 15:41:35 +01:00
patch_realtek.c ALSA: hda/realtek - Fix inverted bass GPIO pin on Acer 8951G 2019-11-28 21:27:00 +01:00
patch_si3054.c
patch_sigmatel.c
patch_via.c
thinkpad_helper.c