From f20028e0593cbd088e9529c298c9f58774d4fdf4 Mon Sep 17 00:00:00 2001 From: Jianxiong Pan Date: Thu, 30 May 2019 20:18:15 +0800 Subject: [PATCH] defect: fix the errors caused by cross-gcc-4.9 compiler. [1/1] 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 --- sound/soc/codecs/amlogic/tas5805.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/amlogic/tas5805.c b/sound/soc/codecs/amlogic/tas5805.c index c4d202d..c83af1e 100644 --- a/sound/soc/codecs/amlogic/tas5805.c +++ b/sound/soc/codecs/amlogic/tas5805.c @@ -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; -- 2.7.4