diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2011-06-28 09:43:13 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:21 -0400 |
commit | 82a7c049449ec5a2194249da341ec8bde14e968b (patch) | |
tree | 689a71f2988b585608e41e7dee4d096c73c7ca22 /include/media/v4l2-ctrls.h | |
parent | 2330fb8242c3efc281ab8a2d3e22686023699955 (diff) |
[media] v4l2-ctrls: make manual_mode_value 8 bits and check against control range
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-ctrls.h')
-rw-r--r-- | include/media/v4l2-ctrls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index de68a59c7d84..8f08c6edf509 100644 --- a/include/media/v4l2-ctrls.h +++ b/include/media/v4l2-ctrls.h | |||
@@ -118,7 +118,7 @@ struct v4l2_ctrl { | |||
118 | unsigned int is_private:1; | 118 | unsigned int is_private:1; |
119 | unsigned int is_volatile:1; | 119 | unsigned int is_volatile:1; |
120 | unsigned int is_auto:1; | 120 | unsigned int is_auto:1; |
121 | unsigned int manual_mode_value:5; | 121 | unsigned int manual_mode_value:8; |
122 | 122 | ||
123 | const struct v4l2_ctrl_ops *ops; | 123 | const struct v4l2_ctrl_ops *ops; |
124 | u32 id; | 124 | u32 id; |