From: Martin Bugge Date: Fri, 7 Feb 2014 08:11:04 +0000 (-0300) Subject: [media] ths8200: Corrected sync polarities setting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00b9f51e1fda8a10ad6f52656722ee618e6a431d;p=openwrt%2Fstaging%2Fblogic.git [media] ths8200: Corrected sync polarities setting HS_IN/VS_IN was always set to positive. Acked-by: Lad, Prabhakar Signed-off-by: Martin Bugge Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/ths8200.c b/drivers/media/i2c/ths8200.c index 5c7dca31de62..bcacf52357ed 100644 --- a/drivers/media/i2c/ths8200.c +++ b/drivers/media/i2c/ths8200.c @@ -356,7 +356,7 @@ static void ths8200_setup(struct v4l2_subdev *sd, struct v4l2_bt_timings *bt) /* Timing of video input bus is derived from HS, VS, and FID dedicated * inputs */ - ths8200_write(sd, THS8200_DTG2_CNTL, 0x47 | polarity); + ths8200_write(sd, THS8200_DTG2_CNTL, 0x44 | polarity); /* leave reset */ ths8200_s_stream(sd, true);