snd_soc_dapm_force_enable_pin (9) Linux Manual Page
snd_soc_dapm_force_enable_pin – force a pin to be enabled
Synopsis
int snd_soc_dapm_force_enable_pin(struct snd_soc_dapm_context *dapm, const char *pin);
Arguments
dapm
-
- DAPM context
pin
- pin name
Description
Enables input/output pin regardless of any other state. This is intended for use with microphone bias supplies used in microphone jack detection.
Note
snd_soc_dapm_sync needs to be called after this for DAPM to do any widget power switching.
