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

media: i2c: imx290: Explicitly set v&h blank on mode change



__v4l2_ctrl_modify_range only updates the current value should
it be invalid within the new range. That can leave modes producing
odd frame rates.

Explicitly update the HBLANK and VBLANK values so that on mode
change we revert to the default frame rate for the mode.

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