]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1e11ff9fda75347b21e1df64de19f24d3d92d9d
treed44457d91ad29ca608ccaede55f54a46f3897e3d
parent3bb14df922e25af46d945f626b6564ae90eb5d14
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