media: i2c: imx477: Fix for long exposure limit calculations
authorNaushir Patuck <naush@raspberrypi.com>
Fri, 11 Jun 2021 11:47:07 +0000 (12:47 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 11 Jun 2021 15:23:01 +0000 (16:23 +0100)
commit5188f0cf6c768cc791b3283ab6a72cc02b4a2f99
treed9eefb71434e0d4dc7d0163808377d5e08099559
parentf90388a86cdd09e9d59553354a55be8f63b34fe9
media: i2c: imx477: Fix for long exposure limit calculations

Do not scale IMX477_EXPOSURE_OFFSET with the long exposure factor during
the limit calculations. This allows larger exposure times, and does seem to be
what the sensor is doing internally.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/media/i2c/imx477.c