avin: fix avin detect incorrect report [1/1]
authorNian Jing <nian.jing@amlogic.com>
Wed, 13 Feb 2019 06:28:18 +0000 (14:28 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 22 Feb 2019 07:01:49 +0000 (23:01 -0800)
PD#SWPL-4840

Problem:
avin detect compare level setting too high

Solution:
adjust the compare level to 635mv

Verify:
x301

Change-Id: I5246482338b3181d98a3836dcff09a3f33da113e
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
drivers/amlogic/media/vin/tvin/tvafe/tvafe_avin_detect.c

index 60759b1..31fda55 100644 (file)
@@ -56,7 +56,7 @@
 static unsigned int dc_level_adj = 4;
 
 /*0:635mv; 1:686mv; 2:733mv; 3:776mv; 4:816mv; 5:853mv; 6:887mv; 7:919mv*/
-static unsigned int comp_level_adj = 5;
+static unsigned int comp_level_adj;
 
 /*0:use internal VDC to bias CVBS_in*/
 /*1:use ground to bias CVBS_in*/