OpenCloudOS-Kernel/sound/soc/generic
Stephan Gerhold 3d4641a42c
ASoC: core: Add snd_soc_of_parse_pin_switches() from simple-card-utils
The ASoC core already has several helpers to parse card properties
from the device tree. Move the parsing code for "pin-switches" from
simple-card-utils to a shared snd_soc_of_parse_pin_switches() function
so other drivers can also use it to set up pin switches configured in
the device tree.

Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20211214142049.20422-2-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-12-23 18:34:23 +00:00
..
Kconfig ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
Makefile ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
audio-graph-card.c ASoC: generic: Use dev_err_probe() helper 2021-12-20 12:47:15 +00:00
audio-graph-card2-custom-sample.c ASoC: add Audio Graph Card2 Custom Sample 2021-10-15 16:10:43 +01:00
audio-graph-card2-custom-sample.dtsi ASoC: audio-graph-card2-custom-sample.dtsi: add Codec2Codec sample (Multi) 2021-10-15 16:10:49 +01:00
audio-graph-card2.c ASoC: generic: Use dev_err_probe() helper 2021-12-20 12:47:15 +00:00
simple-card-utils.c ASoC: core: Add snd_soc_of_parse_pin_switches() from simple-card-utils 2021-12-23 18:34:23 +00:00
simple-card.c ASoC: generic: Use dev_err_probe() helper 2021-12-20 12:47:15 +00:00
test-component.c ASoC: test-component: fix null pointer dereference. 2021-12-09 12:31:50 +00:00