diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-03-08 15:47:22 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-10 10:31:43 +0000 |
commit | b0ffe9b1ab8705eeffa72feacd791ab6fdd2a06c (patch) | |
tree | 943dab32a1213d73f6ee8cdceb66e554486d1164 /sound/soc/codecs/arizona.c | |
parent | a69d0009aad51e16bf294d78a3b2e4fe655cf10f (diff) | |
download | op-kernel-dev-b0ffe9b1ab8705eeffa72feacd791ab6fdd2a06c.zip op-kernel-dev-b0ffe9b1ab8705eeffa72feacd791ab6fdd2a06c.tar.gz |
ASoC: sam9g20_wm8731: 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 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.
While we are at it also remove the snd_soc_dapm_enable_pin() in the init
callback. Pins are enabled by default.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
0 files changed, 0 insertions, 0 deletions