]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hdac_hdmi: Add support for multiple ports to a PCM
authorJeeja KP <jeeja.kp@intel.com>
Tue, 7 Feb 2017 13:39:48 +0000 (19:09 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 16 Feb 2017 18:55:40 +0000 (18:55 +0000)
commit3da34dde6404eb258810cd474909fa30954bb270
tree613359fe84984c564bc8820e7ccbf00c4ffbf244
parentef3701a7308d387f2edcb45c797c288f1e70e2e7
ASoC: hdac_hdmi: Add support for multiple ports to a PCM

Since we have the MST feature enabled and Pin-Port mux for user to
select the converter routing, multiple port mapping to same converter
needs to be supported.

To support multiple port mapped to same converter following changes are
done for this:.
o Add port list to pcm, so that multiple ports can be mapped to a PCM.
o Jack reporting in case where multiple port are attached to same PCM.
o Change hdac_hdmi_get_port_from_cvt(), channel_map, remove functions
to parse through all ports mapped to same the PCM.

Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c