]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: magician: Convert to table based DAPM and control setup
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 12 Mar 2014 14:27:38 +0000 (15:27 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 13 Mar 2014 09:41:00 +0000 (09:41 +0000)
commitfc0382f03839ef8522b674a7e939f2be69d83b11
tree4e5d9d7ec1d6b77097804fff63df4a23666d3d32
parent0060fb7e930d49871a099abc3a8787f3085c39e9
ASoC: pxa: magician: 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/magician.c