diff options
author | Kai Vehmanen <[email protected]> | 2019-11-29 16:37:55 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2019-11-29 15:41:35 +0100 |
commit | 0c0fe9e6b95ce2e9e2c83bef5563cf223e849eda (patch) | |
tree | f15fa9bc7be4cf9ee2f7c1bccfbce847715656e8 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 336820c4374bc065317f247dc2bb37c0e41b64a6 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions