]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c87d5664c27960f8cd77c371d8e1f2d20826f1c
tree374f0664fd55562d1dfba216c22d8a531f62e345
parent74c16bf9fcaec92a6b3cfe2efa8a514fd8969b42
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