Name

snd_soc_dapm_enable_pin_unlocked — enable pin.

Synopsis

int snd_soc_dapm_enable_pin_unlocked (struct snd_soc_dapm_context * dapm,
 const char * pin);
 

Arguments

dapm

DAPM context

pin

pin name

Description

Enables input/output pin and its parents or children widgets iff there is a valid audio route and active audio stream.

Requires external locking.

NOTE

snd_soc_dapm_sync needs to be called after this for DAPM to do any widget power switching.