media: ov5640: Implement get_selection
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:14:09 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:33:21 +0000 (15:33 +0100)
commit66ed85eb7b33cf4f4623a1e71499ed433c850851
tree9eb8fa55b58660eb395eaf709095928dcb7bc7e9
parent90b0f355c5a35becf093cc6579d88fc9b494c606
media: ov5640: Implement get_selection

Implement the get_selection pad operation for the OV5640 sensor driver.

The supported targets report the sensor's native size, the active pixel
array size and the analog crop rectangle from which the image is
produced.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5640.c