projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc70aca
)
ASoC: ak4535: fixup cache register table
author
Axel Lin
<axel.lin@gmail.com>
Thu, 13 Oct 2011 09:17:06 +0000
(17:17 +0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 7 Nov 2011 21:47:28 +0000
(13:47 -0800)
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: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/ak4535.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ak4535.c
b/sound/soc/codecs/ak4535.c
index ff966567e2bad1e2f5a3ae39b782205cb7122399..38af9d64798c8651ebf87f609660fb523853df71 100644
(file)
--- a/
sound/soc/codecs/ak4535.c
+++ b/
sound/soc/codecs/ak4535.c
@@
-40,11
+40,11
@@
struct ak4535_priv {
/*
* ak4535 register cache
*/
-static const u
16
ak4535_reg[AK4535_CACHEREGNUM] = {
-
0x0000, 0x0080, 0x0000, 0x00
03,
-
0x0002, 0x0000, 0x0011, 0x00
01,
-
0x0000, 0x0040, 0x0036, 0x00
10,
-
0x0000, 0x0000, 0x0057, 0x00
00,
+static const u
8
ak4535_reg[AK4535_CACHEREGNUM] = {
+
0x00, 0x80, 0x00, 0x
03,
+
0x02, 0x00, 0x11, 0x
01,
+
0x00, 0x40, 0x36, 0x
10,
+
0x00, 0x00, 0x57, 0x
00,
};
/*