]> git.baikalelectronics.ru Git - kernel.git/commit
media: ov5640: Remove duplicated mode settings
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:14:01 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:24:08 +0000 (15:24 +0100)
commit213ecdcb30874dd2ef1a5589397275169d645ef3
tree2832ef19b556234216b8fa471cdcbb0f2b44c8d2
parent47ae2a9625f08aefeaf0fff0ea023438ed154fb7
media: ov5640: Remove duplicated mode settings

The register tables for all resolutions smaller than 720p are now
identical.

Remove the duplicated ones and create a single ov5640_setting_low_res[]
register table.

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