Add support for the .get_selection pad operation to ov5670 and ov13858 sensor drivers. Support the V4L2_SEL_TGT_CROP_BOUNDS and V4L2_SEL_TGT_CROP_DEFAULT targets which report the same rectangles, as the size of the active and readable pixel matrix is the only information available in public documentation. Question: do I really need to initialize the try_crop rectangle at open() time? I don't think it's strictly necessary, but for simmetry and to guard against future developments, I think it's fair to have it. Thanks j Jacopo Mondi (2): media: i2c: ov13858: Add .get_selection support media: i2c: ov5670: Add .get_selection support drivers/media/i2c/ov13858.c | 31 +++++++++++++++++++++++++++++++ drivers/media/i2c/ov5670.c | 32 +++++++++++++++++++++++++++++++- 2 files changed, 62 insertions(+), 1 deletion(-) -- 2.29.2