]> git.baikalelectronics.ru Git - kernel.git/commit
media: video-mux: Parse information from firmware without using callbacks
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 1 May 2020 17:15:38 +0000 (19:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 May 2020 09:14:30 +0000 (11:14 +0200)
commitb362fe9526f065feee02633b281f7a259cc230f8
treed85a52e49356cf4f0cb61eb1238b90a79e31dbcd
parent17899ad39da2ee627c51e020e196f04293acb5ee
media: video-mux: Parse information from firmware without using callbacks

Instead of using the convenience function
v4l2_async_register_fwnode_subdev(), parse the video-mux input endpoints
and set up the async sub-devices without using callbacks. The video-mux
knows which ports it must parse (the input ports) and how to handle
unconnected remotes, so it makes the code simpler to transfer control
of endpoint parsing to the driver.

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/video-mux.c