ASoC: Support second DC servo readback method for wm_hubs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Mar 2010 16:09:45 +0000 (17:09 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Apr 2010 15:19:09 +0000 (16:19 +0100)
commit8437f7006b9cfa249791e2fd57596683d4561843
treec1701c27b37b21c53daec55f730162757511e041
parent3fa49e3ad9ac20b15edfb0c51bbad36e45a84b17
ASoC: Support second DC servo readback method for wm_hubs

More recent Wolfson hubs devices add the ability to read back the DC
servo calibration information from the register used to write offsets,
and later still ones remove the old readback registers. Add support
for the new scheme, and use it for WM8994 device revisions that
support it.

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