summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-12-12 15:52:45 +0000
committerMark Brown <broonie@kernel.org>2016-12-12 15:52:45 +0000
commite6c6fd896bbe4fe8967c5ba6f2d5db056a1da688 (patch)
tree5c3d7d28e1fb6aaf5ef50c558718cf835d48e2a4 /include/sound/soc.h
parentc0f2302a6ac310bcacccafbefe414a8026375b60 (diff)
parent1b4d9c22191583ef1fb7433417b2ceb2a608d887 (diff)
downloadlinux-0-day-e6c6fd896bbe4fe8967c5ba6f2d5db056a1da688.tar.gz
linux-0-day-e6c6fd896bbe4fe8967c5ba6f2d5db056a1da688.tar.xz
Merge remote-tracking branch 'asoc/topic/dapm-pin' into asoc-next
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 13cc64e5bb778..ad671b359609d 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1698,4 +1698,24 @@ static inline void snd_soc_dapm_mutex_unlock(struct snd_soc_dapm_context *dapm)
mutex_unlock(&dapm->card->dapm_mutex);
}
+int snd_soc_component_enable_pin(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_enable_pin_unlocked(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_disable_pin(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_disable_pin_unlocked(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_nc_pin(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_nc_pin_unlocked(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_get_pin_status(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_force_enable_pin(struct snd_soc_component *component,
+ const char *pin);
+int snd_soc_component_force_enable_pin_unlocked(
+ struct snd_soc_component *component,
+ const char *pin);
+
#endif