2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-09 22:24:04 +08:00
linux-next/drivers/media/platform/sunxi/sun6i-csi
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: sun6i-csi: Tidy up Kconfig 2022-09-24 11:21:45 +02:00
Makefile media: sun6i-csi: Rename sun6i_video to sun6i_csi_capture 2022-11-25 07:01:39 +00:00
sun6i_csi_bridge.c media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
sun6i_csi_bridge.h media: v4l: async: Rename v4l2_async_subdev as v4l2_async_connection 2023-07-28 10:44:25 +02:00
sun6i_csi_capture.c media: sun6i-csi: capture: Remove useless ret initialization 2022-12-14 18:12:31 +00:00
sun6i_csi_capture.h media: sun6i-csi: Add support for hooking to the isp devices 2022-11-25 07:25:05 +00:00
sun6i_csi_reg.h media: sun6i-csi: Cleanup headers and includes, update copyright lines 2022-11-25 07:16:27 +00:00
sun6i_csi.c media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
sun6i_csi.h media: sun6i-csi: Add support for hooking to the isp devices 2022-11-25 07:25:05 +00:00