summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorTarang Raval <tarang.raval@siliconsignals.io>2025-10-31 17:18:35 +0530
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-11-13 10:57:52 +0100
commit9a9ba098e7ba6b89efaddeabf0716a84a0f54c99 (patch)
tree6d5d965af241db039928f12d2d0dac014bf9829d /scripts/generate_rust_analyzer.py
parentdff10c7044e8777bd14bba99444ff8a69d9bb2fe (diff)
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions