Commit 7370f639 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Mauro Carvalho Chehab

media: v4l2-ctrls: Fix doc for v4l2_ctrl_request_hdl_find

We should call v4l2_ctrl_request_hdl_put() instead of
v4l2_ctrl_request_put_hdl(). Fix the typo.
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Reviewed-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 55cdf8c9
...@@ -1343,7 +1343,7 @@ void v4l2_ctrl_request_complete(struct media_request *req, ...@@ -1343,7 +1343,7 @@ void v4l2_ctrl_request_complete(struct media_request *req,
* @parent: The parent control handler ('priv' in media_request_object_find()) * @parent: The parent control handler ('priv' in media_request_object_find())
* *
* This function finds the control handler in the request. It may return * This function finds the control handler in the request. It may return
* NULL if not found. When done, you must call v4l2_ctrl_request_put_hdl() * NULL if not found. When done, you must call v4l2_ctrl_request_hdl_put()
* with the returned handler pointer. * with the returned handler pointer.
* *
* If the request is not in state VALIDATING or QUEUED, then this function * If the request is not in state VALIDATING or QUEUED, then this function
......
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