ASoC: tlv320dac33: Move codec power up to DAPM
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Thu, 24 Mar 2011 07:11:49 +0000 (09:11 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Sat, 26 Mar 2011 15:51:06 +0000 (15:51 +0000)
commit4b8ffdb959c35f5e271fb7e08635dbdb2593018f
tree6c347d35b182bfbb164b8f80a5e19ce870fea195
parent333802e90d3f0366c4a1cb767e2783d2e1df73a8
ASoC: tlv320dac33: Move codec power up to DAPM

Move the codec power on (in reg 0x01, bit 4) from
set_bias_level:SND_SOC_BIAS_ON to a DAPM supply.
In this way we can be sure, that all the things within
the codec is powered before the external amp is
going to be enabled.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/tlv320dac33.c