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/rockchip/rkisp1
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: rkisp1: Enable compilation on ARCH_MXC 2022-07-17 11:24:19 +01:00
Makefile media: rkisp1: Split CSI handling to separate file 2022-07-17 12:08:36 +01:00
rkisp1-capture.c media: rkisp1: Implement ENUM_FRAMESIZES 2023-04-11 18:02:45 +02:00
rkisp1-common.c media: rkisp1: Make rkisp1_isp_mbus_info common 2022-07-17 12:01:46 +01:00
rkisp1-common.h media: v4l: async: Rename v4l2_async_subdev as v4l2_async_connection 2023-07-28 10:44:25 +02:00
rkisp1-csi.c media: v4l: async: Obtain async connection based on sub-device 2023-07-28 10:47:56 +02:00
rkisp1-csi.h media: rkisp1: csi: Plumb the CSI RX subdev 2022-07-17 12:31:51 +01:00
rkisp1-debug.c media: rkisp1: debug: Add dump file in debugfs for MI main path registers 2022-07-17 12:34:43 +01:00
rkisp1-dev.c media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
rkisp1-isp.c media: v4l: async: Obtain async connection based on sub-device 2023-07-28 10:47:56 +02:00
rkisp1-params.c media: rkisp1: make const arrays ae_wnd_num and hist_wnd_num static 2022-11-04 16:56:43 +01:00
rkisp1-regs.h media: rkisp1: Use correct macro for gradient registers 2022-09-24 08:41:31 +02:00
rkisp1-resizer.c media: Fix indentation issues introduced by subdev-wide state struct 2023-04-12 09:46:06 +02:00
rkisp1-stats.c media: rkisp1: Make rkisp1_isp_mbus_info common 2022-07-17 12:01:46 +01:00