Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: v4l2-mc: Mark v4l2_pipeline_link_notify() as deprecated

Commit b97213a41140 ("media: v4l2-mc: Make v4l2_pipeline_pm_{get,put}
deprecated") marked the v4l2_pipeline_pm_get() and
v4l2_pipeline_pm_put() functions as deprecated, but forgot to address
the related v4l2_pipeline_link_notify() function similarly. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20240822214125.3161-1-laurent.pinchart+renesas@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

authored by

Laurent Pinchart and committed by
Laurent Pinchart
4ec2caab a043ea54

+3
+3
include/media/v4l2-mc.h
··· 178 178 * @flags: New link flags that will be applied 179 179 * @notification: The link's state change notification type (MEDIA_DEV_NOTIFY_*) 180 180 * 181 + * THIS FUNCTION IS DEPRECATED. DO NOT USE IN NEW DRIVERS. USE RUNTIME PM 182 + * ON SUB-DEVICE DRIVERS INSTEAD. 183 + * 181 184 * React to link management on powered pipelines by updating the use count of 182 185 * all entities in the source and sink sides of the link. Entities are powered 183 186 * on or off accordingly. The use of this function should be paired