media: i2c: imx477: Correct minimum exposure lines
authorDavid Plowman <david.plowman@raspberrypi.com>
Mon, 30 May 2022 09:10:37 +0000 (10:10 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Mon, 6 Jun 2022 08:58:17 +0000 (09:58 +0100)
commit999f4a19b15f4ccbdb998a8a2da09c4ad25fffab
treeb72b6cb3f5ae055035be525fa21e74bd2ed7dd8b
parent45599fd8fe420ede67b0a28767a335d1d203f9cf
media: i2c: imx477: Correct minimum exposure lines

The minimum number of exposure lines value (IMX477_EXPOSURE_MIN) was
previously 20 but this is not correct. The datasheet is not completely
explicit, however the new value of 4 has been tested with all the
sensor modes supported by this driver, and matches the lowest exposure
value of 114us that could be achieved wtih Raspberry Pi's legacy
firmware driver.

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