OpenCloudOS-Kernel/drivers/media/platform/xilinx
Sakari Ailus b8ec754ae4 media: v4l: async: Set v4l2_device and subdev in async notifier init
Set the v4l2_device already in async notifier init, so struct device
related to it will be available before the notifier is registered. This
requires separating notifier initialisation into two functions, one that
takes v4l2_device as its argument, v4l2_async_nf_init and
v4l2_async_subdev_nf_init, for sub-device notifiers. Registering the
notifier will use a single function, v4l2_async_nf_register.

This is done in order to make struct device available earlier, during
construction of the async connections, for sensible debug prints.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de> # imx6qp
Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> # rcar + adv746x
Tested-by: Aishwarya Kothari <aishwarya.kothari@toradex.com> # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-08-10 07:58:32 +02:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver 2020-06-23 13:11:46 +02:00
xilinx-csi2rxss.c media: xilinx-csi2rxss: Convert to platform remove callback returning void 2023-04-11 16:59:20 +02:00
xilinx-dma.c media: Zero-initialize all structures passed to subdev pad operations 2023-04-12 09:46:06 +02:00
xilinx-dma.h media: drivers: use video_device_pipeline() 2022-09-24 09:14:59 +02:00
xilinx-tpg.c media: xilinx-tpg: Convert to platform remove callback returning void 2023-04-11 16:59:20 +02:00
xilinx-vip.c media: xilinx: video: Add 1X12 greyscale format 2022-08-30 16:17:20 +02:00
xilinx-vip.h media: xilinx: Drop unexpected word 'with' in comments 2022-07-08 17:57:06 +01:00
xilinx-vipp.c media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
xilinx-vipp.h media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00
xilinx-vtc.c media: Use of_property_present() for testing DT property presence 2023-04-11 18:54:01 +02:00
xilinx-vtc.h media: xilinx: Use the correct style for SPDX License Identifier 2019-11-05 08:30:51 -03:00