Definition at line 810 of file v4l2-ctrls.c.struct v4l2_ctrl* v4l2_ctrl_find ( struct v4l2_ctrl_handler * hdl, u32 id ) read v4l2_ctrl_find() - Find a control with the given ID. : The control handler. : The
>> + const s64 *qmenu_int, const union v4l2_ctrl_ptr >> p_def, >> + void *priv) >> { >> struct v4l2_ctrl *ctrl; >> unsigned sz_extra; >> @@ -2478,6 +2483,9 @@ static struct v4l2_ctrl *v4l2_ctrl_new(struct >> v4l2_ctrl_handler *hdl, >> is_array) >> sz_extra ...
ptr.p_s32[idx]; @@ -1502,6 +1522,8 @@ static int check_range(enum v4l2_ctrl_type type, if (step != 1 || max > 1 || min < 0) return -ERANGE; /* fall through */ + case V4L2_CTRL_TYPE_U8: + case V4L2_CTRL_TYPE_U16: case V4L2_CTRL_TYPE_INTEGER: case V4L2_CTRL_TYPE...
--- a/drivers/media/v4l2-core/v4l2-ctrls.c +++ b/drivers/media/v4l2-core/v4l2-ctrls.c @@ -994,6 +994,8 @@ const char *v4l2_ctrl_get_name(u32 id) case V4L2_CID_AUTO_FOCUS_RANGE: return "Auto Focus, Range"; case V4L2_CID_PAN_SPEED: return "Pan, Speed"; case V4L2_CID_TI...