ASoC: add missing snd_soc_component_set_jack
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 20 Sep 2017 06:08:42 +0000 (06:08 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 20 Sep 2017 11:40:16 +0000 (12:40 +0100)
commit 44c07365e9e2 ("ASoC: add Component level set_jack") added new
snd_soc_component_set_jack(), but it didn't add definition on soc.h.
This patch adds it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h

index d22de9712c451d67a9ee068ab8001589f55901bd..996bdbc125a5d160d975486cd718aef7919cc680 100644 (file)
@@ -1487,6 +1487,8 @@ int snd_soc_component_set_sysclk(struct snd_soc_component *component,
 int snd_soc_component_set_pll(struct snd_soc_component *component, int pll_id,
                              int source, unsigned int freq_in,
                              unsigned int freq_out);
 int snd_soc_component_set_pll(struct snd_soc_component *component, int pll_id,
                              int source, unsigned int freq_in,
                              unsigned int freq_out);
+int snd_soc_component_set_jack(struct snd_soc_component *component,
+                              struct snd_soc_jack *jack, void *data);
 
 #ifdef CONFIG_REGMAP
 
 
 #ifdef CONFIG_REGMAP