v4l2_ctrl_find(9) 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.

COPYRIGHT