summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8978.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-29 11:39:39 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 13:58:19 +0000
commitee60d0155d653888de75b642182b0300c21ce07a (patch)
tree8a231003a2e02e843902074b32f812d7b1e4cf7e /sound/soc/codecs/wm8978.h
parentf98692ea6dda68c7eda6d53a3bc850702c3b8fde (diff)
downloadblackbird-op-linux-ee60d0155d653888de75b642182b0300c21ce07a.tar.gz
blackbird-op-linux-ee60d0155d653888de75b642182b0300c21ce07a.zip
ASoC: Convert wm8978 to direct regmap API usage
Helps push the register cache code down out of ASoC and improves resume times by using the more efficient regmap cache sync code. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8978.h')
-rw-r--r--sound/soc/codecs/wm8978.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8978.h b/sound/soc/codecs/wm8978.h
index c75525b7f154..6ae43495b7cf 100644
--- a/sound/soc/codecs/wm8978.h
+++ b/sound/soc/codecs/wm8978.h
@@ -67,6 +67,8 @@
#define WM8978_OUT3_MIXER_CONTROL 0x38
#define WM8978_OUT4_MIXER_CONTROL 0x39
+#define WM8978_MAX_REGISTER 0x39
+
#define WM8978_CACHEREGNUM 58
/* Clock divider Id's */
OpenPOWER on IntegriCloud