Skip to content
Commit 757db42a authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

media: i2c: imx258: Follow normal V4L2 behaviours for clipping exposure



V4L2 sensor drivers are expected are expected to clip the supported
exposure range based on the VBLANK configured.
IMX258 wasn't doing that as register 0x350 (FRM_LENGTH_CTL)
switches it to a mode where frame length tracks coarse exposure time.

Disable this mode and clip the range for V4L2_CID_EXPOSURE appropriately
based on V4L2_CID_VBLANK.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent def39c19
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