]> git.baikalelectronics.ru Git - kernel.git/commit
media: mt9p031: Implement crop bounds get selection
authorMarek Vasut <marex@denx.de>
Sun, 19 Jun 2022 00:31:58 +0000 (01:31 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 15 Jul 2022 14:23:08 +0000 (15:23 +0100)
commit6618dbc9e0c1c675e0cfafa41247018eff838981
tree8396f1522bcbb72d39c1fe190a5a0767d8122d62
parentb29095cb74205ab49c76f0edb845a8f848fa46d2
media: mt9p031: Implement crop bounds get selection

Implement V4L2_SEL_TGT_CROP_BOUNDS query in get_selection subdev op
for this sensor. This is required e.g. to bind it to STM32MP15x DCMI.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefan Riedmueller <s.riedmueller@phytec.de>
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/mt9p031.c