]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: tosa: Convert to table based DAPM and control setup
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 12 Mar 2014 14:27:39 +0000 (15:27 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 13 Mar 2014 09:41:00 +0000 (09:41 +0000)
commit7c310e2788a07e232a392bebf46a031c3c4b942f
tree7439ea02346c311447e629f65bc31288886426ef
parentfc0382f03839ef8522b674a7e939f2be69d83b11
ASoC: pxa: tosa: Convert to table based DAPM and control setup

Use table based setup to register the controls and DAPM widgets and routes. This
on one hand makes the code a bit shorter and cleaner and on the other hand the
board level DAPM elements get registered in the card's DAPM context rather than
in the CODEC's DAPM context.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/pxa/tosa.c