lcd: add protection for tcon memory size [1/1]
authorshaochan.liu <shaochan.liu@amlogic.com>
Tue, 11 Jun 2019 06:36:20 +0000 (14:36 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 11 Jun 2019 09:04:41 +0000 (02:04 -0700)
commit98d7562b34c7bc41da513f78d579253481d23665
tree57ea1f42dd9f53c7cc31af83b01b37941e7023f1
parent588a79245a7112c1a4b62215caeb589403c6a2db
lcd: add protection for tcon memory size [1/1]

PD#SWPL-9502

Problem:
need avoid when set error tcon memory size

Solution:
add protection for tcon memory size

Verify:
t962_x301

Change-Id: I40c295c9ebcb26a991dc66b4fb2a7f0d006d4359
Signed-off-by: shaochan.liu <shaochan.liu@amlogic.com>
arch/arm/boot/dts/amlogic/tl1_t962x2_x301_1g.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_x301_1g.dts
drivers/amlogic/media/vout/lcd/lcd_tcon.c