osd: avoid color_info NULL [1/1]
authorjian.cao <jian.cao@amlogic.com>
Fri, 27 Aug 2021 06:21:43 +0000 (14:21 +0800)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:34:38 +0000 (13:34 -0500)
commitd2572d92c824204babc3da10d2dce4872e33e03c
tree754146097a7ef56299616531101000d8f2557a66
parent7a931538d6c4d5d0e49e221ec986e609b33fa8ef
osd: avoid color_info NULL [1/1]

PD#SWPL-57980

Problem:
after the device is powered on
plug in the HDMI cable a few seconds
then OSD panic

Solution:
avoid color_info NULL

Verify:
g12a

Change-Id: I69202bc06d889e59a391b50b609237689eb29d31
Signed-off-by: jian.cao <jian.cao@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c