diff options
author | Stephan Gerhold <[email protected]> | 2021-12-14 15:20:46 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-12-23 18:34:23 +0000 |
commit | 3d4641a42ccf1593b3f3a474ee7541727acbb8e0 (patch) | |
tree | fe32898bf6ff2098e4ac6d58601ea3b2fca617f5 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 8102d8cd8f26117a7d74142878b4efe7fdeda6cf (diff) |
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 <[email protected]>
Signed-off-by: Stephan Gerhold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions