diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2017-02-07 14:39:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-02-16 19:55:43 +0100 |
commit | 624900163d060f15d71ff383104a909737de770c (patch) | |
tree | f72952f2344fd49d3584ffd2c0c8ad23930a469b /sound/soc/codecs/hdac_hdmi.h | |
parent | ASoC: hdac_hdmi: Add support for multiple ports to a PCM (diff) | |
download | linux-624900163d060f15d71ff383104a909737de770c.tar.xz linux-624900163d060f15d71ff383104a909737de770c.zip |
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.h | 3 |
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__ */ |