media: ov2680: Stop sending more data then requested
authorHans de Goede <hdegoede@redhat.com>
Mon, 15 Apr 2024 13:03:14 +0000 (15:03 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 22 Apr 2024 09:41:05 +0000 (11:41 +0200)
commitd89218e48d4ef39fca69fcb6a42a8184c1310833
treedf37fbeb5f1e30fed5a7f31b8e850cf0403f8463
parent24034af644fc01126bec9850346a06ef1450181f
media: ov2680: Stop sending more data then requested

There is no reason to send OV2680_END_MARGIN extra columns on top of
the mode width and the same for sending extra lines over the mode height.

This sending of extra lines/columns was inherited from the atomisp
ov2680 driver, it is unclear why this was done and this complicates
adding V4L2_CID_VBLANK support, so remove it.

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ov2680.c