media: i2c: ov9281: Increase diff between VTS and max exposure
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 4 Jan 2022 14:46:01 +0000 (14:46 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:36 +0000 (16:04 +0000)
commit24d840c3c5a95ac62d41a8c4647c2c34fa4473e9
treef3878abda8dae6806949fa2a4bec02dab1d1d8d1
parent27aa079eb8f67e9c1b3504b71a963d8d15ca1e0f
media: i2c: ov9281: Increase diff between VTS and max exposure

The driver did allow the exposure to go up to VTS - 4 lines,
but this would produce a visible line on 1280x800, and a stall of
the sensor at 640x480.

Whilst it appears to work with a difference of 5, the datasheet states
there should be at least 25 lines difference between VTS and exposure,
so use that value.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/ov9281.c