Skip to content
Commit 911bae10 authored by David Plowman's avatar David Plowman Committed by Meng Li
Browse files

drivers: media: i2c: imx708: Fix WIDE_DYNAMIC_RANGE control with long exposure

commit  a1cd5351f431caf7cf472825aff0e1c66bf31de4 from
https://github.com/raspberrypi/linux.git

 rpi-6.1.y

Setting V4L2_CID_WIDE_DYNAMIC_RANGE was causing the long exposure
shift count to be reset, which is incorrect if the user has already
changed the frame length to cause it to have a non-zero value.

Because it only updates control ranges and doesn't set any registers,
the control can also be applied when the sensor is not powered on.

Signed-off-by: default avatarDavid Plowman <david.plowman@raspberrypi.com>
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 0839ce68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment