Commit d8401ed0 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 44c1febd
...@@ -453,6 +453,10 @@ typedef int (*parse_endpoint_func)(struct device *dev, ...@@ -453,6 +453,10 @@ typedef int (*parse_endpoint_func)(struct device *dev,
* @parse_endpoint: Driver's callback function called on each V4L2 fwnode * @parse_endpoint: Driver's callback function called on each V4L2 fwnode
* endpoint. Optional. * endpoint. Optional.
* *
* DEPRECATED! This function is deprecated. Don't use it in new drivers.
* Instead see an example in cio2_parse_firmware() function in
* drivers/media/pci/intel/ipu3/ipu3-cio2.c .
*
* Parse the fwnode endpoints of the @dev device and populate the async sub- * Parse the fwnode endpoints of the @dev device and populate the async sub-
* devices list in the notifier. The @parse_endpoint callback function is * devices list in the notifier. The @parse_endpoint callback function is
* called for each endpoint with the corresponding async sub-device pointer to * called for each endpoint with the corresponding async sub-device pointer to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment