diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2019-11-29 16:37:55 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-29 15:41:35 +0100 |
commit | 0c0fe9e6b95ce2e9e2c83bef5563cf223e849eda (patch) | |
tree | f15fa9bc7be4cf9ee2f7c1bccfbce847715656e8 /kernel/configs | |
parent | 336820c4374bc065317f247dc2bb37c0e41b64a6 (diff) | |
download | linux-0c0fe9e6b95ce2e9e2c83bef5563cf223e849eda.tar.bz2 |
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: 5398e94fb753 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>
Diffstat (limited to 'kernel/configs')
0 files changed, 0 insertions, 0 deletions