ASoC: SSM2602: Fix default register cache
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 8 May 2011 16:24:41 +0000 (09:24 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 8 May 2011 23:44:45 +0000 (01:44 +0200)
Some of the values in the default register cache did not represent the codecs
state after reset. This patch fixes it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ssm2602.c

index 30229cf1bb54ef5f53eea5a753a519e0bd39bad4..a09d66c0e70e7f84f9f8efab664b437424913d90 100644 (file)
@@ -60,8 +60,8 @@ struct ssm2602_priv {
  * There is no point in caching the reset register
  */
 static const u16 ssm2602_reg[SSM2602_CACHEREGNUM] = {
-       0x0017, 0x0017, 0x0079, 0x0079,
-       0x0000, 0x0000, 0x0000, 0x000a,
+       0x0097, 0x0097, 0x0079, 0x0079,
+       0x000a, 0x0008, 0x009f, 0x000a,
        0x0000, 0x0000
 };