Name

v4l2_ctrl_find — Find a control with the given ID.

Synopsis

struct v4l2_ctrl * v4l2_ctrl_find (struct v4l2_ctrl_handler * hdl,
 u32 id);
 

Arguments

hdl

The control handler.

id

The control ID to find.

Description

If hdl == NULL this will return NULL as well. Will lock the handler so do not use from inside v4l2_ctrl_ops.