ASoC: Disable WM8996 CPVDD supply when not in use
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Sep 2011 09:05:18 +0000 (10:05 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Sep 2011 09:59:36 +0000 (10:59 +0100)
commitc83495af6395446b81da54b17a479557ad0b2fc8
tree5c297c65478e1e8113cc05e1b19b8fbcbe60ff60
parentda07ecd93b196819dcec488b7ebec69a71f3819e
ASoC: Disable WM8996 CPVDD supply when not in use

The WM8996 only requires CPVDD when the charge pump is active so control
it separately to the other supplies, only enabling it when the charge pump
is active. This will result in a small power saving on systems which are
able to provide independent software control of the supply.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/codecs/wm8996.c