ASoC: Actively manage WM8903 DC servo configuration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Feb 2011 20:14:42 +0000 (20:14 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Feb 2011 10:45:05 +0000 (10:45 +0000)
commitc5b6a9feaeb0fa0e39e3fc10f9bf8cc8de498739
treec8f8fb62bfec14bc807d97c93441097d2db3c42b
parentfa9879edebdaad4cfcd2dbe3eaa2ba0dc4f0a262
ASoC: Actively manage WM8903 DC servo configuration

Explicitly cache the DC servo offsets for digital paths in the driver,
allowing them to be preserved over suspend and resume, and ensure that
we recalibrate analogue outputs paths when they are in use so that we
cover any changes in the input offset.

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