From: Evoke Zhang Date: Fri, 26 Jul 2019 10:39:26 +0000 (+0800) Subject: avin_detect: fix avin_detect_flag mistak in probe [1/1] X-Git-Tag: hardkernel-4.9.236-104~889 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed316b85331037a8ca30cfd7a0c4c3b0703cb7dc;p=platform%2Fkernel%2Flinux-amlogic.git avin_detect: fix avin_detect_flag mistak in probe [1/1] PD#TV-7797 Problem: cat detect avin signal Solution: fix avin_detect_flag in probe Verify: x301 Change-Id: I2ee1f7fa243d31262f4e156e84e63440fe812c09 Signed-off-by: Evoke Zhang --- 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 c3bbff0..a839431 100644 --- a/drivers/amlogic/media/vin/tvin/tvafe/tvafe_avin_detect.c +++ b/drivers/amlogic/media/vin/tvin/tvafe/tvafe_avin_detect.c @@ -1108,7 +1108,7 @@ static int tvafe_avin_detect_probe(struct platform_device *pdev) (TVAFE_AVIN_INTERVAL * avin_timer_time); add_timer(&avin_detect_timer); - avin_detect_flag = AVIN_DETECT_INIT; + avin_detect_flag |= AVIN_DETECT_INIT; tvafe_pr_info("tvafe_avin_detect_probe ok.\n"); return 0;