projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d97a7
)
ASoC: rt5640: Remove the pre-allocated size of reg_default
author
Oder Chiou
<oder_chiou@realtek.com>
Fri, 28 Mar 2014 12:28:25 +0000
(20:28 +0800)
committer
Mark Brown
<broonie@linaro.org>
Mon, 14 Apr 2014 16:27:41 +0000
(17:27 +0100)
In order to prevent the redundant memory usage, the pre-allocated size of
reg_default should be remove.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/rt5640.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5640.c
b/sound/soc/codecs/rt5640.c
index 6ede622ad44fbc456646b3c8914eac79a713887d..84ee7ef8eb170c1270f15d2a0d2ff49484c25b9e 100644
(file)
--- a/
sound/soc/codecs/rt5640.c
+++ b/
sound/soc/codecs/rt5640.c
@@
-59,7
+59,7
@@
static struct reg_default init_list[] = {
};
#define RT5640_INIT_REG_LEN ARRAY_SIZE(init_list)
-static const struct reg_default rt5640_reg[
RT5640_VENDOR_ID2 + 1
] = {
+static const struct reg_default rt5640_reg[] = {
{ 0x00, 0x000e },
{ 0x01, 0xc8c8 },
{ 0x02, 0xc8c8 },