]> git.baikalelectronics.ru Git - kernel.git/commit
media: ov5647: Break out format handling
authorJacopo Mondi <jacopo@jmondi.org>
Thu, 19 Nov 2020 16:32:33 +0000 (17:32 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 15:12:57 +0000 (16:12 +0100)
commitb167eae59a6e6fb9845876c9c6f3547ba1769d38
tree66b4e6e1d9166621b0e103db1cab51dfcf9ae0c5
parent92edd0eab9b3d04be6493d2b84501852eba6ad77
media: ov5647: Break out format handling

Break format handling out from the main driver structure.

This commit prepares for the introduction of more sensor formats and
resolutions by instrumenting the existing operation to work on multiple
modes instead of assuming a single supported one.

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/ov5647.c