aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorKai Vehmanen <kai.vehmanen@linux.intel.com>2019-11-29 16:37:56 +0200
committerTakashi Iwai <tiwai@suse.de>2019-11-29 15:42:16 +0100
commit609f5485344b05a7eaffe9fdd09d42ad1c501cdf (patch)
tree1fcb873bd4263e58fffa9ec6c18ffd8198b2fdcf /sound/pci/hda/patch_realtek.c
parentALSA: hda: hdmi - fix kernel oops caused by invalid PCM idx (diff)
downloadlinux-dev-609f5485344b05a7eaffe9fdd09d42ad1c501cdf.tar.xz
linux-dev-609f5485344b05a7eaffe9fdd09d42ad1c501cdf.zip
ALSA: hda: hdmi - preserve non-MST PCM routing for Intel platforms
Commit 5398e94fb753 ("ALSA: hda - Add DP-MST support for NVIDIA codecs") introduced a slight change of behaviour how non-MST monitors are assigned to PCMs on Intel platforms. In the drm_audio_component.h interface, the third parameter to pin_eld_notify() is pipe number. On Intel platforms, this value is -1 for MST. On other platforms, a non-zero pipe id is used to signal MST use. This difference leads to some subtle differences in hdmi_find_pcm_slot() with regards to how non-MST monitors are assigned to PCMs. This patch restores the original behaviour on Intel platforms while keeping the new allocation policy on other platforms. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20191129143756.23941-2-kai.vehmanen@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions