diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-03-12 15:27:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-13 11:43:30 +0000 |
commit | b92af2b8844c964fc7e1905f797a8d780c7212de (patch) | |
tree | dcff006e59b9872f8022293565af7fecbaf56be0 /sound/soc/s6000/s6000-i2s.c | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | blackbird-op-linux-b92af2b8844c964fc7e1905f797a8d780c7212de.tar.gz blackbird-op-linux-b92af2b8844c964fc7e1905f797a8d780c7212de.zip |
ASoC: s6105-ipcam: 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, since pins are enabled by default. Also drop the snd_soc_dapm_sync()
calls, since they are ignored by the core anyway until the card has been fully
instantiated.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/s6000/s6000-i2s.c')
0 files changed, 0 insertions, 0 deletions