Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261381
b: refs/heads/master
c: 82a7c04
h: refs/heads/master
i:
  261379: dbaf16c
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 8a742eb commit fbf9a06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2330fb8242c3efc281ab8a2d3e22686023699955
refs/heads/master: 82a7c049449ec5a2194249da341ec8bde14e968b
1 change: 1 addition & 0 deletions trunk/drivers/media/video/v4l2-ctrls.c
Original file line number Diff line number Diff line change
Expand Up @@ -1264,6 +1264,7 @@ void v4l2_ctrl_auto_cluster(unsigned ncontrols, struct v4l2_ctrl **controls,

v4l2_ctrl_cluster(ncontrols, controls);
WARN_ON(ncontrols <= 1);
WARN_ON(manual_val < master->minimum || manual_val > master->maximum);
master->is_auto = true;
master->manual_mode_value = manual_val;
master->flags |= V4L2_CTRL_FLAG_UPDATE;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/media/v4l2-ctrls.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ struct v4l2_ctrl {
unsigned int is_private:1;
unsigned int is_volatile:1;
unsigned int is_auto:1;
unsigned int manual_mode_value:5;
unsigned int manual_mode_value:8;

const struct v4l2_ctrl_ops *ops;
u32 id;
Expand Down

0 comments on commit fbf9a06

Please sign in to comment.