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)
commit0fbd44ab772890cf5dcda87311575e99d2c000c1
tree4e5d9d7ec1d6b77097804fff63df4a23666d3d32
parent7a87ac1f66800460e82b7ff3286dfec1c5bb9b84
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