summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-09-20 06:08:42 +0000
committerMark Brown <broonie@kernel.org>2017-09-20 12:40:16 +0100
commit840bc44849b9d7f8eaae34ac7b434e17c4cf7368 (patch)
tree1a48a7efbe1a516720aac6e28fe1e7b8134759de
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
downloadblackbird-obmc-linux-840bc44849b9d7f8eaae34ac7b434e17c4cf7368.tar.gz
blackbird-obmc-linux-840bc44849b9d7f8eaae34ac7b434e17c4cf7368.zip
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 d22de9712c45..996bdbc125a5 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -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_jack(struct snd_soc_component *component,
+ struct snd_soc_jack *jack, void *data);
#ifdef CONFIG_REGMAP
OpenPOWER on IntegriCloud