Name

__v4l2_ctrl_s_ctrl — Unlocked variant of v4l2_ctrl_s_ctrl.

Synopsis

int __v4l2_ctrl_s_ctrl (struct v4l2_ctrl * ctrl,
 s32 val);
 

Arguments

ctrl

The control.

val

The new value.

Description

This sets the control's new value safely by going through the control framework. This function assumes the control's handler is already locked, allowing it to be used from within the v4l2_ctrl_ops functions.

This function is for integer type controls only.