From: Nian Jing Date: Wed, 13 Feb 2019 06:28:18 +0000 (+0800) Subject: avin: fix avin detect incorrect report [1/1] X-Git-Tag: hardkernel-4.9.236-104~1742 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=613346cc2bc2048e3e5b8855185ddee1be5dc358;p=platform%2Fkernel%2Flinux-amlogic.git avin: fix avin detect incorrect report [1/1] 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 --- diff --git a/drivers/amlogic/media/vin/tvin/tvafe/tvafe_avin_detect.c b/drivers/amlogic/media/vin/tvin/tvafe/tvafe_avin_detect.c index 60759b1..31fda55 100644 --- a/drivers/amlogic/media/vin/tvin/tvafe/tvafe_avin_detect.c +++ b/drivers/amlogic/media/vin/tvin/tvafe/tvafe_avin_detect.c @@ -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*/