diff options
author | Nikhil Mahale <nmahale@nvidia.com> | 2020-02-04 13:27:46 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-02-04 19:16:08 +0300 |
commit | c7e661a1c2ae98a4754db6a85fc686b4a89322ad (patch) | |
tree | 710529a153404bd5888bbb1b67156c238102d327 /sound/soc/sof/Makefile | |
parent | 112e3f5ac505ea0f1e3c59cc757db3c45252c41d (diff) | |
download | linux-c7e661a1c2ae98a4754db6a85fc686b4a89322ad.tar.xz |
ALSA: hda - Fix DP-MST support for NVIDIA codecs
If dyn_pcm_assign is set, different jack objects are being created
for pcm and pins.
If dyn_pcm_assign is set, generic_hdmi_build_jack() calls into
add_hdmi_jack_kctl() to create and track separate jack object for
pcm. Like sync_eld_via_acomp(), hdmi_present_sense_via_verbs() also
need to report status change of the pcm jack.
Rename pin_idx_to_jack() to pin_idx_to_pcm_jack(). Update
hdmi_present_sense_via_verbs() to report plug state of pcm jack
object. Unlike sync_eld_via_acomp(), for !acomp drivers the pcm
jack's plug state must be consistent with plug state
of pin's jack.
Fixes: 5398e94fb753 ("ALSA: hda - Add DP-MST support for NVIDIA codecs")
Reported-and-tested-by: Martin Regner <martin@larkos.de>
Signed-off-by: Nikhil Mahale <nmahale@nvidia.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200204102746.1356-1-nmahale@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/sof/Makefile')
0 files changed, 0 insertions, 0 deletions