Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173949
b: refs/heads/master
c: f4eabaf
h: refs/heads/master
i:
  173947: 0ceb936
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Dec 5, 2009
1 parent 76a3d13 commit a500d44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ebbb5c3e0eb73db4da5bee57cd0344a74cf73319
refs/heads/master: f4eabafeb3ea41801260fba624cbf2da971d19f8
7 changes: 7 additions & 0 deletions trunk/drivers/media/video/uvc/uvc_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,13 @@ int uvc_query_v4l2_ctrl(struct uvc_video_chain *chain,
ret = 0;
goto out;

case V4L2_CTRL_TYPE_BUTTON:
v4l2_ctrl->minimum = 0;
v4l2_ctrl->maximum = 0;
v4l2_ctrl->step = 0;
ret = 0;
goto out;

default:
break;
}
Expand Down

0 comments on commit a500d44

Please sign in to comment.