[alsa-devel] [PATCH] ASoC: add missing snd_soc_component_set_jack
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Wed Sep 20 08:08:42 CEST 2017
From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
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 at renesas.com>
---
include/sound/soc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index d22de97..996bdbc 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
--
1.9.1
More information about the Alsa-devel
mailing list