ASoC: hdac_hdmi: Add machine pin widget for each port
authorJeeja KP <jeeja.kp@intel.com>
Tue, 7 Feb 2017 13:39:55 +0000 (19:09 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 16 Feb 2017 18:56:06 +0000 (18:56 +0000)
commit0324e51b5ba405cd2d66e9e95430f6b9562d0ac0
tree45a3f3cdcabf0b7b4ccabd5093e585e74a43cb4b
parent625de2bf2ed1632cb74a4a38f8f09a2063fb74af
ASoC: hdac_hdmi: Add machine pin widget for each port

Represent each port as machine DAPM pin widget. This helps in
enable/disable pin when monitor is connected/disconnected in case pcm
is rendered to multiple ports.

Create machine pin widgets  and pin switch kcontrol for each port and
report based on the pin status

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
sound/soc/codecs/hdac_hdmi.h