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

media: v4l: ctrl: Remove old documentation from v4l2_ctrl_grab

v4l2_ctrl_grab() is documented in the header; there's no need to have a
comment explaining what the function does in the .c file.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent f492fb4f
...@@ -2511,12 +2511,6 @@ void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active) ...@@ -2511,12 +2511,6 @@ void v4l2_ctrl_activate(struct v4l2_ctrl *ctrl, bool active)
} }
EXPORT_SYMBOL(v4l2_ctrl_activate); EXPORT_SYMBOL(v4l2_ctrl_activate);
/* Grab/ungrab a control.
Typically used when streaming starts and you want to grab controls,
preventing the user from changing them.
Just call this and the framework will block any attempts to change
these controls. */
void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed) void v4l2_ctrl_grab(struct v4l2_ctrl *ctrl, bool grabbed)
{ {
bool old; bool old;
......
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