imx708: Do not reset vblank to a default value
authorNaushir Patuck <naush@raspberrypi.com>
Thu, 5 Jan 2023 11:04:48 +0000 (11:04 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 5 Jan 2023 11:48:06 +0000 (11:48 +0000)
commit355bbe0f8114dcedd8ef5d9989a5c0f07301db9e
tree6d8a398db4b79a8e757157cc85462daa5230f6e8
parent5e09ceeebe3d001f16913a7928dd7518ccf1878d
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>
drivers/media/i2c/imx708.c