]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx: Parse information from firmware without using callbacks
authorSteve Longerbeam <slongerbeam@gmail.com>
Fri, 1 May 2020 17:15:39 +0000 (19:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 May 2020 09:15:33 +0000 (11:15 +0200)
commitc3ef07609ad7677779e2a1c60b59f3ac14ac48ba
treefa10e1040bb56bf090218620a923d27ac4a4d374
parent281c329c596534f6a7ef92b5d739d564af50cb1b
media: imx: Parse information from firmware without using callbacks

Instead of using the convenience functions
v4l2_async_notifier_parse_fwnode_endpoints*() or
v4l2_async_register_fwnode_subdev(), parse the input endpoints
and set up the async sub-devices without using callbacks. The drivers
know which ports it must parse 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/staging/media/imx/imx-media-csi.c
drivers/staging/media/imx/imx6-mipi-csi2.c
drivers/staging/media/imx/imx7-media-csi.c
drivers/staging/media/imx/imx7-mipi-csis.c