ALSA: hda/hdmi: fix max DP-MST dev_num for Intel TGL+ platforms
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Wed, 24 Mar 2021 17:23:37 +0000 (19:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 25 Mar 2021 07:21:01 +0000 (08:21 +0100)
commite839fbed26e8b8713803b8ac73da92fd2b0c7594
tree3f0fbd1801806d6ae50a7dd3e24321d546a6e435
parent940ba1f5e18d4411c4e87ef902dc811a10d341d0
ALSA: hda/hdmi: fix max DP-MST dev_num for Intel TGL+ platforms

Increase the device select range to 4 on platforms supporting
4 concurrent displays.

This fixes a problem in scenario where total of 4 displays are active,
and 3 of these are audio capable DP receivers and connected to a DP-MST
hub. Due to incorrect range for device select, audio could not be played
to the 3rd monitor in DP-MST hub.

BugLink: https://github.com/thesofproject/linux/issues/2798
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210324172337.51730-1-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c