summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTarang Raval <tarang.raval@siliconsignals.io>2025-10-31 14:48:35 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-11-13 12:57:52 +0300
commit9a9ba098e7ba6b89efaddeabf0716a84a0f54c99 (patch)
tree6d5d965af241db039928f12d2d0dac014bf9829d /tools/lib/python
parentdff10c7044e8777bd14bba99444ff8a69d9bb2fe (diff)
downloadlinux-9a9ba098e7ba6b89efaddeabf0716a84a0f54c99.tar.xz
media: i2c: imx219: Replace exposure magic value with named constant
Introduce IMX219_EXPOSURE_OFFSET (4) and use it instead of the literal '4' when computing the maximum coarse exposure. The IMX219 datasheet specifies the maximum storage time as frame_length_lines - 4. (Ref: Datasheet section 5-7-1) Also fix one indentation issue for consistency. Signed-off-by: Tarang Raval <tarang.raval@siliconsignals.io> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions