mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
ASoC: simple-card-utils: add asoc_simple_parse_pin_switches()
This function is a helper that permits to create pin switch controls for a list of widgets whose names are listed in the PREFIX "pin-switches" devicetree property. Signed-off-by: Paul Cercueil <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
fb45befa7e
commit
90194281ee
2 changed files with 59 additions and 0 deletions
|
|
@ -133,6 +133,8 @@ int asoc_simple_parse_routing(struct snd_soc_card *card,
|
|||
char *prefix);
|
||||
int asoc_simple_parse_widgets(struct snd_soc_card *card,
|
||||
char *prefix);
|
||||
int asoc_simple_parse_pin_switches(struct snd_soc_card *card,
|
||||
char *prefix);
|
||||
|
||||
int asoc_simple_init_jack(struct snd_soc_card *card,
|
||||
struct asoc_simple_jack *sjack,
|
||||
|
|
|
|||
Loading…
Reference in a new issue