Skip to content

Commit e511d72

Browse files
committed
media: v4l2-mediabus: Use structures to describe bus configuration
jira LE-3262 Rebuild_History Non-Buildable kernel-5.14.0-570.22.1.el9_6 commit-author Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> commit 6a7bdd8 Empty-Commit: Cherry-Pick Conflicts during history rebuild. Will be included in final tarball splat. Ref for failed cherry-pick at: ciq/ciq_backports/kernel-5.14.0-570.22.1.el9_6/6a7bdd89.failed The media bus configuration is specified through a set of flags, some of which being mutually exclusive. This doesn't scale to express more complex configurations. Improve the API by replacing the single flags field in v4l2_mbus_config by a union of v4l2_mbus_config_* structures. The flags themselves are still used in those structures, so they are kept here. Drivers are however updated to use structure fields instead of flags when already possible. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> (cherry picked from commit 6a7bdd8) Signed-off-by: Jonathan Maple <jmaple@ciq.com> # Conflicts: # drivers/media/platform/atmel/microchip-csi2dc.c
1 parent 79fe086 commit e511d72

File tree

1 file changed

+436
-0
lines changed

1 file changed

+436
-0
lines changed

0 commit comments

Comments
 (0)