Skip to content
Commit 8fc29e3c authored by Guoniu.zhou's avatar Guoniu.zhou Committed by Hans Verkuil
Browse files

media: ov5640: fix vblank unchange issue when work at dvp mode

The value of V4L2_CID_VBLANK control is initialized to default vblank
value of 640x480 when driver probe. When OV5640 work at DVP mode, the
control value won't update and lead to sensor can't output data if the
resolution remain the same as last time since incorrect total vertical
size. So update it when there is a new value applied.

Fixes: bce93b82

 ("media: ov5640: Add VBLANK control")
Signed-off-by: default avatarGuoniu.zhou <guoniu.zhou@nxp.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent d66b45e1
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