From: Shunqian Zheng Date: Thu, 1 Mar 2018 08:44:16 +0000 (-0500) Subject: media: ov2685: Not delay latch for gain X-Git-Tag: v4.19~1321^2~184 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67f2219ce1d11a0e160f6aa0b463aee1614f0b9c;p=platform%2Fkernel%2Flinux-rpi.git media: ov2685: Not delay latch for gain Update the register 0x3503 to use 'no delay latch' for gain. This makes sensor to output the first frame as normal rather than a very dark one. Signed-off-by: Shunqian Zheng Reviewed-by: Tomasz Figa Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/ov2685.c b/drivers/media/i2c/ov2685.c index 9ac702e..83c55e8 100644 --- a/drivers/media/i2c/ov2685.c +++ b/drivers/media/i2c/ov2685.c @@ -119,7 +119,7 @@ static struct regval ov2685_1600x1200_regs[] = { {0x3087, 0x00}, {0x3501, 0x4e}, {0x3502, 0xe0}, - {0x3503, 0x07}, + {0x3503, 0x27}, {0x350b, 0x36}, {0x3600, 0xb4}, {0x3603, 0x35},