From 6af926107cff1ae7b42cb814c457fb7649e72bb8 Mon Sep 17 00:00:00 2001 From: Nian Jing Date: Mon, 30 Jul 2018 21:08:30 +0800 Subject: [PATCH] tvafe: fix avin unstable issue PD#170316: fix avin unstable issue Change-Id: Id229eff1e996399251cf2d3c93c3d4b2561f8451 Signed-off-by: Nian Jing --- drivers/amlogic/media/vin/tvin/tvafe/tvafe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/amlogic/media/vin/tvin/tvafe/tvafe.c b/drivers/amlogic/media/vin/tvin/tvafe/tvafe.c index f8abe63..ee2f9a0 100644 --- a/drivers/amlogic/media/vin/tvin/tvafe/tvafe.c +++ b/drivers/amlogic/media/vin/tvin/tvafe/tvafe.c @@ -286,7 +286,9 @@ int tvafe_dec_open(struct tvin_frontend_s *fe, enum tvin_port_e port) W_APB_BIT(TVFE_CLAMP_INTF, 1, CLAMP_EN_BIT, CLAMP_EN_WID); } - } + } else + W_APB_BIT(TVFE_CLAMP_INTF, 1, + CLAMP_EN_BIT, CLAMP_EN_WID); #else W_APB_BIT(TVFE_CLAMP_INTF, 1, CLAMP_EN_BIT, CLAMP_EN_WID); -- 2.7.4