]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: mioa701_wm9713: Convert to table based DAPM setup
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 1 Mar 2014 14:48:18 +0000 (15:48 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Mar 2014 02:01:48 +0000 (11:01 +0900)
commit9b52ef1342c74ce6d0a86f7b6d23ae204c98ad96
tree4d370fdd00cb805f000e08d2923f704eebb086fe
parentdd286c25cc7537e4d40be94101c5bafa4d66237a
ASoC: pxa: mioa701_wm9713: Convert to table based DAPM setup

Use table based setup to register the DAPM widgets and routes. This on one hand
makes the code a bit 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.

Also remove the snd_soc_dapm_enable_pin() calls, since pins are enabled by
default and there are no matching snd_soc_dapm_disable_pin() calls.

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