aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-09-20 06:08:42 +0000
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-09-06 13:08:53 +0100
commitd9054c472416876c9a0f9ee1e98a020f0903a888 (patch)
tree46d76a9b0b9e5bc0891c1aa6c74c136ef716342c
parent1efcf8f8e6848d853a643fa8de87ca303dbfaa4b (diff)
ASoC: add missing snd_soc_component_set_jack
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>
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index c33ffb66980ea..6147eca9110dc 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1508,6 +1508,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_jack(struct snd_soc_component *component,
+ struct snd_soc_jack *jack, void *data);
#ifdef CONFIG_REGMAP