summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-jack.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r--sound/soc/soc-jack.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c
index c7b990abdbaa..a71d2340eb05 100644
--- a/sound/soc/soc-jack.c
+++ b/sound/soc/soc-jack.c
@@ -24,24 +24,6 @@ struct jack_gpio_tbl {
24}; 24};
25 25
26/** 26/**
27 * snd_soc_component_set_jack - configure component jack.
28 * @component: COMPONENTs
29 * @jack: structure to use for the jack
30 * @data: can be used if codec driver need extra data for configuring jack
31 *
32 * Configures and enables jack detection function.
33 */
34int snd_soc_component_set_jack(struct snd_soc_component *component,
35 struct snd_soc_jack *jack, void *data)
36{
37 if (component->driver->set_jack)
38 return component->driver->set_jack(component, jack, data);
39
40 return -ENOTSUPP;
41}
42EXPORT_SYMBOL_GPL(snd_soc_component_set_jack);
43
44/**
45 * snd_soc_card_jack_new - Create a new jack 27 * snd_soc_card_jack_new - Create a new jack
46 * @card: ASoC card 28 * @card: ASoC card
47 * @id: an identifying string for this jack 29 * @id: an identifying string for this jack