defect: fix the errors caused by cross-gcc-4.9 compiler. [1/1]
authorJianxiong Pan <jianxiong.pan@amlogic.com>
Thu, 30 May 2019 12:18:15 +0000 (20:18 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 12 Jun 2019 02:05:35 +0000 (19:05 -0700)
PD#SWPL-9181

Problem:
have the errors when using the cross-gcc-4.9 compiler.

Solution:
fix it.

Verify:
tm2_ab311.

Change-Id: I3dcc5e982c520baeaf19ca246764db10f36dd079
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
sound/soc/codecs/amlogic/tas5805.c

index c4d202d..c83af1e 100644 (file)
@@ -649,10 +649,10 @@ const uint32_t tas5805m_volume[] = {
 #define TAS5805_EQPARAM_LENGTH 610
 #define TAS5805_EQ_LENGTH 245
 #define FILTER_PARAM_BYTE 244
-static  int m_eq_tab[TAS5805_EQPARAM_LENGTH][2] = {0};
+static  int m_eq_tab[TAS5805_EQPARAM_LENGTH][2];
 #define TAS5805_DRC_PARAM_LENGTH 29
 #define TAS5805_DRC_PARAM_COUNT  58
-static  int m_drc_tab[TAS5805_DRC_PARAM_LENGTH][2] = {0};
+static  int m_drc_tab[TAS5805_DRC_PARAM_LENGTH][2];
 
 struct tas5805m_priv {
        struct regmap *regmap;