summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/hdac_hdmi.h
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2017-02-07 19:09:49 +0530
committerMark Brown <broonie@kernel.org>2017-02-16 18:55:43 +0000
commit624900163d060f15d71ff383104a909737de770c (patch)
treef72952f2344fd49d3584ffd2c0c8ad23930a469b /sound/soc/codecs/hdac_hdmi.h
parente0e5d3e5a53b3bc354c18030b78b7ebcb33e004b (diff)
ASoC: hdac_hdmi: Use ASoC jack instead of snd_jack
Use snd_soc_jack instead of snd_jack and create the jack in machine driver and pass the jack pointer to hdac_hdmi driver for jack reporting. 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/hdac_hdmi.h b/sound/soc/codecs/hdac_hdmi.h
index 8dfd1e0b57b3..bf7edb3227d2 100644
--- a/sound/soc/codecs/hdac_hdmi.h
+++ b/sound/soc/codecs/hdac_hdmi.h
@@ -1,6 +1,7 @@
#ifndef __HDAC_HDMI_H__
#define __HDAC_HDMI_H__
-int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int pcm);
+int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int pcm,
+ struct snd_soc_jack *jack);
#endif /* __HDAC_HDMI_H__ */