diff options
author | Mark Brown <broonie@kernel.org> | 2016-12-12 15:52:45 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-12 15:52:45 +0000 |
commit | e6c6fd896bbe4fe8967c5ba6f2d5db056a1da688 (patch) | |
tree | 5c3d7d28e1fb6aaf5ef50c558718cf835d48e2a4 /include/sound | |
parent | c0f2302a6ac310bcacccafbefe414a8026375b60 (diff) | |
parent | 1b4d9c22191583ef1fb7433417b2ceb2a608d887 (diff) |
Merge remote-tracking branch 'asoc/topic/dapm-pin' into asoc-next
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 13cc64e5bb77..ad671b359609 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 |