]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: hdmi - fix regression in connect list handling
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Wed, 27 Nov 2019 16:12:40 +0000 (18:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 27 Nov 2019 16:14:16 +0000 (17:14 +0100)
commit1ce1cb0bbcc7b4068babb67b642822b5379a1d2e
tree3f148194b3d217df65388aaccb3d6f08607ff46c
parent5071b57fd95b494d599249aeb24ea8da26582e2d
ALSA: hda: hdmi - fix regression in connect list handling

Fix regression in how intel_haswell_fixup_connect_list()
results are used in hda_read_pin_conn(). Use of
snd_hda_get_raw_connections() in hda_read_pin_conn() bypasses
the cache and thus also bypasses the overridden pin connection
list. On platforms that require the connection list fixup,
mux list will be empty and HDMI playback will fail to -EBUSY
at open.

Fix the regression in hda_read_pinn_conn(). Simplify code
as suggested by Takashi Iwai to remove old
intel_haswell_fixup_connect_list() and copy the cvt_nid list
directly and not use snd_hda_override_conn_list() at all.

Fixes: edf6c11b0b64 ("ALSA: hda - Add DP-MST support for non-acomp codecs")
BugLink: https://github.com/thesofproject/linux/issues/1537
Cc: Nikhil Mahale <nmahale@nvidia.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20191127161240.17026-1-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c