ASoC: simple-card-utils: add asoc_simple_parse_pin_switches()
authorPaul Cercueil <paul@crapouillou.net>
Fri, 26 Apr 2019 02:25:49 +0000 (04:25 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 26 Apr 2019 09:50:02 +0000 (10:50 +0100)
commit90194281ee8b01fc5a223a12ac90006ae98862c4
treed44457d91ad29ca608ccaede55f54a46f3897e3d
parentfb45befa7ea07399372266f09e562b26db5693c9
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>
include/sound/simple_card_utils.h
sound/soc/generic/simple-card-utils.c