aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-ctrls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/v4l2-ctrls.h')
-rw-r--r--include/media/v4l2-ctrls.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index d69ab4aae032..fcc9a0cf8ff1 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -53,8 +53,10 @@ struct v4l2_ctrl_ops {
53 * @handler: The handler that owns the control. 53 * @handler: The handler that owns the control.
54 * @cluster: Point to start of cluster array. 54 * @cluster: Point to start of cluster array.
55 * @ncontrols: Number of controls in cluster array. 55 * @ncontrols: Number of controls in cluster array.
56 * @has_new: Internal flag: set when there is a valid new value.
57 * @done: Internal flag: set for each processed control. 56 * @done: Internal flag: set for each processed control.
57 * @is_new: Set when the user specified a new value for this control. It
58 * is also set when called from v4l2_ctrl_handler_setup. Drivers
59 * should never set this flag.
58 * @is_private: If set, then this control is private to its handler and it 60 * @is_private: If set, then this control is private to its handler and it
59 * will not be added to any other handlers. Drivers can set 61 * will not be added to any other handlers. Drivers can set
60 * this flag. 62 * this flag.
@@ -97,9 +99,9 @@ struct v4l2_ctrl {
97 struct v4l2_ctrl_handler *handler; 99 struct v4l2_ctrl_handler *handler;
98 struct v4l2_ctrl **cluster; 100 struct v4l2_ctrl **cluster;
99 unsigned ncontrols; 101 unsigned ncontrols;
100 unsigned int has_new:1;
101 unsigned int done:1; 102 unsigned int done:1;
102 103
104 unsigned int is_new:1;
103 unsigned int is_private:1; 105 unsigned int is_private:1;
104 unsigned int is_volatile:1; 106 unsigned int is_volatile:1;
105 107