Skip to content

Commit 355bbe0

Browse files
naushirpelwell
authored andcommitted
imx708: Do not reset vblank to a default value
imx708_set_framing_limits resets the vblank control to the mode default value unconditionally. This causes it to overwrite the user specified vblank and exposure control values when starting the sensor, since it is called when handling V4L2_CID_WIDE_DYNAMIC_RANGE. Remove this call to s_ctrl as it is unnecessary. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
1 parent 5e09cee commit 355bbe0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/media/i2c/imx708.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,9 +1041,6 @@ static void imx708_set_framing_limits(struct imx708 *imx708)
10411041
IMX708_FRAME_LENGTH_MAX - mode->height,
10421042
1, mode->vblank_default);
10431043

1044-
/* Setting this will adjust the exposure limits as well. */
1045-
__v4l2_ctrl_s_ctrl(imx708->vblank, mode->vblank_default);
1046-
10471044
/*
10481045
* Currently PPL is fixed to the mode specified value, so hblank
10491046
* depends on mode->width only, and is not changeable in any

0 commit comments

Comments
 (0)