aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorShunqian Zheng <zhengsq@rock-chips.com>2018-03-01 03:44:16 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-06 12:24:52 -0500
commit67f2219ce1d11a0e160f6aa0b463aee1614f0b9c (patch)
tree96d5fcf08c5e395f89134c715cc6999d87a21e8b /drivers/media/i2c
parentmedia: renesas-ceu: mark PM functions as __maybe_unused (diff)
downloadlinux-dev-67f2219ce1d11a0e160f6aa0b463aee1614f0b9c.tar.xz
linux-dev-67f2219ce1d11a0e160f6aa0b463aee1614f0b9c.zip
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 <zhengsq@rock-chips.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/ov2685.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ov2685.c b/drivers/media/i2c/ov2685.c
index 9ac702e3ae95..83c55e8288e7 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},