summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_hubs.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-29 17:09:45 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-04-05 16:19:09 +0100
commit8437f7006b9cfa249791e2fd57596683d4561843 (patch)
treec1701c27b37b21c53daec55f730162757511e041 /sound/soc/codecs/wm_hubs.h
parent3fa49e3ad9ac20b15edfb0c51bbad36e45a84b17 (diff)
downloadtalos-obmc-linux-8437f7006b9cfa249791e2fd57596683d4561843.tar.gz
talos-obmc-linux-8437f7006b9cfa249791e2fd57596683d4561843.zip
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>
Diffstat (limited to 'sound/soc/codecs/wm_hubs.h')
-rw-r--r--sound/soc/codecs/wm_hubs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_hubs.h b/sound/soc/codecs/wm_hubs.h
index 420104fe9c90..e51c16683589 100644
--- a/sound/soc/codecs/wm_hubs.h
+++ b/sound/soc/codecs/wm_hubs.h
@@ -21,6 +21,7 @@ extern const unsigned int wm_hubs_spkmix_tlv[];
/* This *must* be the first element of the codec->private_data struct */
struct wm_hubs_data {
int dcs_codes;
+ int dcs_readback_mode;
int hp_startup_mode;
};
OpenPOWER on IntegriCloud