amvecm: remove tm2 cm curve setting [1/1]
authorMingLiang Dong <mingliang.dong@amlogic.com>
Tue, 27 Aug 2019 07:30:46 +0000 (03:30 -0400)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 28 Aug 2019 08:28:29 +0000 (01:28 -0700)
PD#SWPL-13141

Problem:
The first time the video is played after booting,
the probability flashes a pink screen

Solution:
remove tm2 cm curve setting

Verify:
verify on TM2

Change-Id: I8d99e6ee203fbbb48154ed0aaf101465a0f18cb4
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
drivers/amlogic/media/enhancement/amvecm/amcm.c

index 7117851..af01e6f 100644 (file)
@@ -470,7 +470,8 @@ void cm_latch_process(void)
                if ((!is_meson_gxtvbb_cpu()) &&
                        (!is_meson_txl_cpu()) &&
                        (!is_meson_txlx_cpu()) &&
-                       (!is_meson_tl1_cpu()))
+                       (!is_meson_tl1_cpu()) &&
+                       (!is_meson_tm2_cpu()))
                        amcm_level_sel(cm_level);
                amcm_enable();
                pr_amcm_dbg("\n[amcm..] set cm2 load OK!!!\n");