ASoC: Disable WM8993 regulators when turning bias off
commitcf56f62746c3e2f70bfad3d6fd051427a0022368
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Feb 2010 17:55:55 +0000 (3 17:55 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 4 Feb 2010 10:41:54 +0000 (4 10:41 +0000)
tree5bd6c2fb2d7112d180892caec28e1835253e5334
parentb37e399bfc7fcb5b523e3e2e74686c8cc95c0cba
ASoC: Disable WM8993 regulators when turning bias off

While the regulators are disabled we cache all register writes.
Currently we assume that the regulator disable actually takes
effect, after the merge with the regulator tree in 2.6.34 the
regulator API will be able to notify us if the power is actually
removed (due to constraints or regulator sharing it may not be).

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