summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sta32x.h
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@sig21.net>2011-11-14 17:23:16 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-14 21:32:12 +0000
commit54dc6cabe684375b3cf549c7b0545613d694aba8 (patch)
tree565da27e606ce7326db94b59287f468217de6455 /sound/soc/codecs/sta32x.h
parent98d97019c88bd832da1457729739cf739ece493f (diff)
downloadop-kernel-dev-54dc6cabe684375b3cf549c7b0545613d694aba8.zip
op-kernel-dev-54dc6cabe684375b3cf549c7b0545613d694aba8.tar.gz
ASoC: sta32x: preserve coefficient RAM
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> Cc: stable@vger.kernel.org
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 b97ee5a..d8e32a6 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
OpenPOWER on IntegriCloud