diff options
author | Guoniu.zhou | 2023-07-19 15:30:12 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-11-20 11:52:14 +0100 |
commit | a7a8c49dc670f0533fa815e4f4a20641593c89c7 (patch) | |
tree | 37a11a791cd27620515b01e7c52f9868c2994ec7 /drivers/media/usb | |
parent | 9b1c0aca7fbf68274f7073c4bbf6a36c49d0fcaa (diff) |
media: ov5640: fix vblank unchange issue when work at dvp mode
[ Upstream commit 8fc29e3c9f682d4ad9b0764d44ecc6c19b000051 ]
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: bce93b827de6 ("media: ov5640: Add VBLANK control")
Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions