ASoC: sgtl5000: Enable VAG when DAC/ADC up
authorZeng Zhaoming <zengzm.kernel@gmail.com>
Thu, 29 Mar 2012 16:13:02 +0000 (00:13 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 2 Apr 2012 22:02:11 +0000 (23:02 +0100)
commitf0cdcf3ab6c62b3f774a2af15dfa01988e7a9b02
tree5947f2df2929703d21bd9d01b7d988f4af18ed3d
parentdd775ae2549217d3ae09363e3edb305d0fa19928
ASoC: sgtl5000: Enable VAG when DAC/ADC up

As manual described, VAG is an internal voltage reference of DAC/ADC,
So enabled it before DAC/ADC up.

One more thing should care about is VAG fully ramped down requires 400ms,
wait it to avoid pop.

Signed-off-by: Zeng Zhaoming <zengzm.kernel@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/sgtl5000.c