diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-29 11:39:39 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 13:58:19 (GMT) |
commit | ee60d0155d653888de75b642182b0300c21ce07a (patch) | |
tree | 8a231003a2e02e843902074b32f812d7b1e4cf7e /sound/soc/codecs/wm8978.h | |
parent | f98692ea6dda68c7eda6d53a3bc850702c3b8fde (diff) | |
download | linux-fsl-qoriq-ee60d0155d653888de75b642182b0300c21ce07a.tar.xz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8978.h b/sound/soc/codecs/wm8978.h index c75525b..6ae4349 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 */ |