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)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:11 +0000 (16:04 +0000)
commit52d076ea221e980c80219845673fa94760d97aeb
tree46575ff7e90a570ab80b52c62d8a6ba5159ca4e2
parent96dfc16df59e597c49927ab76919d888b085a794
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