ASoC: pxa: zylonite: Convert to table based DAPM setup
commita9576cbbbafa2c687121638dadebfb136562a522
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 1 Mar 2014 14:48:20 +0000 (1 15:48 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Mar 2014 02:01:52 +0000 (3 11:01 +0900)
tree453f92fb81ffd3c1a321eace5b6792a460f22bb5
parentf6b2a04590bb3f7323a45b183956e63574d1f14b
ASoC: pxa: zylonite: 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 drop the two snd_soc_dapm_enable_pin() since pins are enabled by default
and there is no matching snd_soc_dapm_disable_pin() in the driver.

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