media: i2c: imx290: Handle exposure correctly when vblank changes
authorDavid Plowman <david.plowman@raspberrypi.com>
Thu, 18 Feb 2021 11:58:29 +0000 (11:58 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 19 Feb 2021 08:09:00 +0000 (08:09 +0000)
commit0a6eff75cdee210c1f4dfdab19a978205ab48bbe
tree59ffa141a387902f8845af43e08e9849197ef6e0
parent8c7faec8c6883abdff09f82521c5033f8b4789c1
media: i2c: imx290: Handle exposure correctly when vblank changes

When vblank changes we must modify the exposure range. Also, with this
sensor, the effective exposure time implicitly changes when vblank
does, so we have to reset it after every vblank update.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
drivers/media/i2c/imx290.c