]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: imx335: Set vblank immediately
authorPaul Elder <paul.elder@ideasonboard.com>
Fri, 28 Feb 2025 09:17:31 +0000 (18:17 +0900)
committerHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Mar 2025 12:35:32 +0000 (13:35 +0100)
commitc0aa40f45fef80b4182704d1bc089cbf8ae8bed0
tree76a2605397830f63c4ce96afec427cc307760d7d
parentd89ad441974a75d5b4ed0fde069bbe9209e82236
media: imx335: Set vblank immediately

When the vblank v4l2 control is set, it does not get written to the
hardware unless exposure is also changed. Change the behavior such that
the vblank is written immediately when the control is set, as setting
the vblank without changing the exposure is a valid use case (such as
for changing the frame rate).

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/imx335.c