summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-12-22 12:56:37 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-03-20 16:21:47 +0100
commit7370f639bbc733864e152ead3f26257f55b14ef4 (patch)
treed4c3c377d939f4549dc3a597223b0f1515fd1b82 /include/media
parent55cdf8c9defe76510e0954e5d3f3620abf48c963 (diff)
downloadlinux-stable-7370f639bbc733864e152ead3f26257f55b14ef4.tar.gz
linux-stable-7370f639bbc733864e152ead3f26257f55b14ef4.tar.bz2
linux-stable-7370f639bbc733864e152ead3f26257f55b14ef4.zip
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: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-ctrls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index e59d9a234631..7788eeb3e2bb 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -1343,7 +1343,7 @@ void v4l2_ctrl_request_complete(struct media_request *req,
* @parent: The parent control handler ('priv' in media_request_object_find())
*
* 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.
*
* If the request is not in state VALIDATING or QUEUED, then this function