v4l2_ctrl_g_ctrl — Helper function to get the control's value from within a driver.
s32 v4l2_ctrl_g_ctrl ( | struct v4l2_ctrl * ctrl) ; |
This returns the control's value safely by going through the control framework. This function will lock the control's handler, so it cannot be used from within the v4l2_ctrl_ops functions.
This function is for integer type controls only.