diff options
author | Paul Cercueil <paul@crapouillou.net> | 2019-04-26 04:25:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-26 11:50:02 +0200 |
commit | 90194281ee8b01fc5a223a12ac90006ae98862c4 (patch) | |
tree | d44457d91ad29ca608ccaede55f54a46f3897e3d /include/sound | |
parent | ASoC: Intel: bytcr_rt5651: align quirk override handling (diff) | |
download | linux-90194281ee8b01fc5a223a12ac90006ae98862c4.tar.xz linux-90194281ee8b01fc5a223a12ac90006ae98862c4.zip |
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 <paul@crapouillou.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/simple_card_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h index 67dc3ee6ed01..3429888347e7 100644 --- a/include/sound/simple_card_utils.h +++ b/include/sound/simple_card_utils.h @@ -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, |