]> 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)
commit1550607647e20f89285c80a994167241f9f841d7
tree613359fe84984c564bc8820e7ccbf00c4ffbf244
parent25a84525518f04b05fed520f5719b0b4ee8724ef
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