media: ov2685: Not delay latch for gain
authorShunqian Zheng <zhengsq@rock-chips.com>
Thu, 1 Mar 2018 08:44:16 +0000 (03:44 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 17:24:52 +0000 (12:24 -0500)
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 <zhengsq@rock-chips.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov2685.c

index 9ac702e..83c55e8 100644 (file)
@@ -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},