ASoC: wm8962: Optimise power consumption for IN4 DC measurement usage
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 Jan 2012 21:07:55 +0000 (21:07 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 Jan 2012 21:19:45 +0000 (21:19 +0000)
commit182c51ce7944a214dd77a0b5c0462241e49dd418
treebd7b6ab829a18932f2710992762fd129d17d6040
parent5509f2f80c711add6bbcec9af7f4bbba2e2cc22b
ASoC: wm8962: Optimise power consumption for IN4 DC measurement usage

When the hardware is configured with one or both of the IN4 inputs used
for DC measurement (with no DC blocking capacitor connected) then we can
improve power consumption slightly in idle modes by applying a register
write sequence. Provide platform data to enable this, implemented using
a regmap patch.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/wm8962.h
sound/soc/codecs/wm8962.c