OSDN Git Service

media: ov5640: Split DVP and CSI-2 formats
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:14:15 +0000 (15:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:41:15 +0000 (15:41 +0100)
commita89f14bbcfa55f536217063c880720b5bbd4dd40
tree374f0664fd55562d1dfba216c22d8a531f62e345
parentdd81b8ff90cac2c7eaa8247a0209d61e76582017
media: ov5640: Split DVP and CSI-2 formats

The format enumeration list is shared between CSI-2 and DVP modes.
This lead to the enumeration of unsupported format variants in both
modes.

Separate the list of DVP and CSI-2 formats and create helpers to access
the correct one.

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