Function to set a notify callback for a control.
void v4l2_ctrl_notify (
|struct v4l2_ctrl * ctrl, |
| ||v4l2_ctrl_notify_fnc notify, |
| ||void * priv|
The callback function.
The callback private handle, passed as argument to the callback.
This function sets a callback function for the control. If
ctrl is NULL,
then it will do nothing. If
notify is NULL, then the notify callback will
There can be only one notify. If another already exists, then a WARN_ON
will be issued and the function will do nothing.