]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Disable WM8993 regulators when turning bias off
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Feb 2010 17:55:55 +0000 (17:55 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 4 Feb 2010 10:41:54 +0000 (10:41 +0000)
commitc15bcfec87af900768f063700d0e7d23ad19e07b
tree5bd6c2fb2d7112d180892caec28e1835253e5334
parent64cbf7efb754bc1777780c2679862d68db3f9d6a
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