Skip to content
Commit 332115fe authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
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 ebe7c5ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment