media: i2c: imx219: Implement get_selection
authorJacopo Mondi <jacopo@jmondi.org>
Wed, 29 Apr 2020 09:50:38 +0000 (11:50 +0200)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:52 +0000 (16:33 +0100)
commit7eb61c99f23adacee89147c71fa9b2b2ee934ccd
tree0aee534f9fb5a583482ccd51bd0dd693f4ba6e2e
parent7b06a8e665fc24eef908628e894504f40f11a969
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>
drivers/media/i2c/imx219.c