]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add support for BIAS_OFF when idle to WM8904
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Jan 2010 22:37:11 +0000 (22:37 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 4 Feb 2010 10:42:07 +0000 (10:42 +0000)
commita903886c2723c483f1283c3ccfc322fdc999ea1a
tree4ee82f1a6548ac7b2b2aae8008ec8008f49fbaed
parentc15bcfec87af900768f063700d0e7d23ad19e07b
ASoC: Add support for BIAS_OFF when idle to WM8904

As well as disabling the biases of the CODEC the drop into BIAS_OFF will
also disable all the regulators powering the CODEC, allowing even greater
power savings on appropriately configured systems.

Since the regulator API does not currently provide notification when
regulators are disabled we assume that this always happens when we stop
using the regulators. Once 2.6.34 is merged this code can be optimised
to only sync the cache when power was actually removed.

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