hdmitx: fixed logo flash error [1/1]

PD#SWPL-4194

Problem:
array need to initial.

Solution:
fixed it.

Verify:
verify by ampere

Change-Id: Ia72eb1afa54f092bbbb7265694ecec314691b14e
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
This commit is contained in:
Luan Yuan
2019-01-16 21:44:38 +08:00
committed by Dongjin Kim
parent ee234ee7a8
commit ed20184713

View File

@@ -4790,7 +4790,7 @@ static char *next_token_ex(char *separator, char *buf, unsigned int size,
/* check the colorattribute from uboot */
static void check_hdmiuboot_attr(char *token)
{
char attr[16];
char attr[16] = {0};
const char * const cs[] = {
"444", "422", "rgb", "420", NULL};
const char * const cd[] = {