From 67f2219ce1d11a0e160f6aa0b463aee1614f0b9c Mon Sep 17 00:00:00 2001 From: Shunqian Zheng Date: Thu, 1 Mar 2018 03:44:16 -0500 Subject: [PATCH] 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 --- drivers/media/i2c/ov2685.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, -- 2.7.4