summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/sta32x.h
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@sig21.net>2011-11-14 17:23:16 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 08:54:17 -0800
commit71b3b360ee04f567eded77c3bcadb510f9a7c8f0 (patch)
tree94eceb624a73feae5c1738f669ff32a2439a1b33 /sound/soc/codecs/sta32x.h
parent45445147b0cf1c398b370aa064dc2fb7f9b5128e (diff)
ASoC: sta32x: preserve coefficient RAM
commit 54dc6cabe684375b3cf549c7b0545613d694aba8 upstream. The coefficient RAM must be saved in a shadow so it can be restored when the codec is powered on using regulator_bulk_enable(). Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/soc/codecs/sta32x.h')
-rw-r--r--sound/soc/codecs/sta32x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/sta32x.h b/sound/soc/codecs/sta32x.h
index b97ee5a75667..d8e32a6262ee 100644
--- a/sound/soc/codecs/sta32x.h
+++ b/sound/soc/codecs/sta32x.h
@@ -19,6 +19,7 @@
/* STA326 register addresses */
#define STA32X_REGISTER_COUNT 0x2d
+#define STA32X_COEF_COUNT 62
#define STA32X_CONFA 0x00
#define STA32X_CONFB 0x01