media: i2c: imx219: Implement get_selection
authorJacopo Mondi <jacopo@jmondi.org>
Wed, 29 Apr 2020 09:50:38 +0000 (11:50 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 May 2020 09:11:27 +0000 (11:11 +0200)
commite6d4ef7d58aa7e64aa735e1b3c7b670e4fb34d6f
tree44317f658f9932db57ec80471678d991ac88a130
parent35dd70b4c4935012ee02b4296618e56bd6ae3040
media: i2c: imx219: Implement get_selection

Implement the get_selection pad operation for the IMX219 sensor driver.
The supported targets report the sensor's native size, the crop default
rectangle and the crop rectangle.

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