1
linux/drivers/media/platform/sunxi
Laurent Pinchart 9bde4f7caf media: sun4i_csi: Don't use v4l2_subdev_link_validate() for video device
The v4l2_subdev_link_validate() function is a helper designed to
validate links whose sink is a subdev. When called on a link whose sink
is a video device, it only prints a warning and returns. Its usage in
the sun4i_csi driver is wrong, leaving the link from the sub4i_csi
subdev to the capture video device unvalidated.

Planned improvements to the v4l2_subdev_link_validate() function will
turn the warning into an error, breaking the sun4i_csi driver. As an
interim measure, move the warning to the sun4i_csi driver in a custom
validation handler, and drop the call to the helper.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
2024-08-26 16:36:14 +03:00
..
sun4i-csi media: sun4i_csi: Don't use v4l2_subdev_link_validate() for video device 2024-08-26 16:36:14 +03:00
sun6i-csi media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
sun6i-mipi-csi2 media: v4l2-subdev: Rename .init_cfg() operation to .init_state() 2023-12-04 10:37:47 +01:00
sun8i-a83t-mipi-csi2 media: sunxi: a83-mips-csi2: also select GENERIC_PHY 2024-05-02 13:04:16 +01:00
sun8i-di media: sun8i-di: Fix chroma difference threshold 2024-02-16 11:46:31 +01:00
sun8i-rotate media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
Kconfig
Makefile