]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: ak4535: fixup cache register table
authorAxel Lin <axel.lin@gmail.com>
Thu, 13 Oct 2011 09:17:06 +0000 (17:17 +0800)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:36 +0000 (15:35 -0400)
commit 7c04241acbdaf97f1448dcccd27ea0fcd1a57684 upstream.

ak4535_reg should be 8bit, but cache table is defined as 16bit.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
sound/soc/codecs/ak4535.c

index 352d1d08dbd95ae10bb47e571392e641245c9db3..133d8f51b128e9f45c573577e67ac2f6430ce837 100644 (file)
@@ -41,11 +41,11 @@ struct ak4535_priv {
 /*
  * ak4535 register cache
  */
-static const u16 ak4535_reg[AK4535_CACHEREGNUM] = {
-    0x0000, 0x0080, 0x0000, 0x0003,
-    0x0002, 0x0000, 0x0011, 0x0001,
-    0x0000, 0x0040, 0x0036, 0x0010,
-    0x0000, 0x0000, 0x0057, 0x0000,
+static const u8 ak4535_reg[AK4535_CACHEREGNUM] = {
+       0x00, 0x80, 0x00, 0x03,
+       0x02, 0x00, 0x11, 0x01,
+       0x00, 0x40, 0x36, 0x10,
+       0x00, 0x00, 0x57, 0x00,
 };
 
 /*