ASoC: TWL4030: Change APLL powering sequence
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Thu, 29 Oct 2009 09:58:10 +0000 (11:58 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 29 Oct 2009 12:58:21 +0000 (12:58 +0000)
commit7729cf749350b04c80ee1652961de238afc9d5b1
tree43c250c93d7099d97a69113d0cf5e82b8d68fc80
parent86139a13ced74b3911c33940f0049b8f97bae07a
ASoC: TWL4030: Change APLL powering sequence

It seams that certain part of the twl4030 codec needs the APLL
enabled before they are enabled.
Paths which has any digital processing needs need the APLL
enabled before they can function.
For example the vibra output will have some random data after
it is enabled and before the APLL also enabled.

If only analog components are in use (analog bypass), than it
seams, that the APLL does not need to be enabled. This lowers
the power consumption with around ~0.005A.

Adding DAPM_SUPPLY to the Digital playback route and also
to the capture route to enable and disable the APLL.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c