Skip to content

Commit d8401ed

Browse files
Sakari Ailusmchehab
authored andcommitted
media: v4l: fwnode: v4l2_async_notifier_parse_fwnode_endpoints is deprecated
Document that v4l2_async_notifier_parse_fwnode_endpoints() is deprecated. Its functionality has been replaced by other, better functions. Also add a reference to an example if someone ends up wandering here. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent 44c1feb commit d8401ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎include/media/v4l2-fwnode.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,10 @@ typedef int (*parse_endpoint_func)(struct device *dev,
453453
* @parse_endpoint: Driver's callback function called on each V4L2 fwnode
454454
* endpoint. Optional.
455455
*
456+
* DEPRECATED! This function is deprecated. Don't use it in new drivers.
457+
* Instead see an example in cio2_parse_firmware() function in
458+
* drivers/media/pci/intel/ipu3/ipu3-cio2.c .
459+
*
456460
* Parse the fwnode endpoints of the @dev device and populate the async sub-
457461
* devices list in the notifier. The @parse_endpoint callback function is
458462
* called for each endpoint with the corresponding async sub-device pointer to

0 commit comments

Comments
 (0)