summary refs log tree commit diff
path: root/sound/soc/codecs/hdac_hdmi.h
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2017-02-07 19:09:55 +0530
committerMark Brown <broonie@kernel.org>2017-02-16 18:56:06 +0000
commit0324e51b5ba405cd2d66e9e95430f6b9562d0ac0 (patch)
tree45a3f3cdcabf0b7b4ccabd5093e585e74a43cb4b /sound/soc/codecs/hdac_hdmi.h
parent625de2bf2ed1632cb74a4a38f8f09a2063fb74af (diff)
downloadlinux-0324e51b5ba405cd2d66e9e95430f6b9562d0ac0.tar.gz
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>
Diffstat (limited to 'sound/soc/codecs/hdac_hdmi.h')
-rw-r--r--sound/soc/codecs/hdac_hdmi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/hdac_hdmi.h b/sound/soc/codecs/hdac_hdmi.h
index bf7edb3227d2..dfc3a9cf7199 100644
--- a/sound/soc/codecs/hdac_hdmi.h
+++ b/sound/soc/codecs/hdac_hdmi.h
@@ -4,4 +4,6 @@
 int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int pcm,
 				struct snd_soc_jack *jack);
 
+int hdac_hdmi_jack_port_init(struct snd_soc_codec *codec,
+			struct snd_soc_dapm_context *dapm);
 #endif /* __HDAC_HDMI_H__ */