From de350b0b574ad8831bcfa172187131beba5427e9 Mon Sep 17 00:00:00 2001 From: MingLiang Dong Date: Wed, 2 Jan 2019 05:11:43 -0500 Subject: [PATCH] amvecm: cm parameters curve is wrong after disable/enable [1/1] PD#SWPL-3809 Problem: cm parameters curve is wrong after disable/enable Solution: TV cm parameters from pq db, don't need set by kernel Verify: verify on TL1 Change-Id: I9c87c414e009d04c6a4fdf8caf8e9bb429376d56 Signed-off-by: MingLiang Dong --- drivers/amlogic/media/enhancement/amvecm/amcm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/amlogic/media/enhancement/amvecm/amcm.c b/drivers/amlogic/media/enhancement/amvecm/amcm.c index 7a8ad4c..5247bdc 100644 --- a/drivers/amlogic/media/enhancement/amvecm/amcm.c +++ b/drivers/amlogic/media/enhancement/amvecm/amcm.c @@ -422,7 +422,10 @@ void cm_latch_process(void) } while (0); if (cm_en && (cm_level_last != cm_level)) { cm_level_last = cm_level; - if ((!is_meson_gxtvbb_cpu()) && (!is_meson_txl_cpu())) + if ((!is_meson_gxtvbb_cpu()) && + (!is_meson_txl_cpu()) && + (!is_meson_txlx_cpu()) && + (!is_meson_tl1_cpu())) amcm_level_sel(cm_level); amcm_enable(); pr_amcm_dbg("\n[amcm..] set cm2 load OK!!!\n"); -- 2.7.4