Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181720
b: refs/heads/master
c: 8a4e76c
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 54db584 commit 84a78e5
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 36bd883ef98ac6003ab6ec7b91f66d3fb2159318
refs/heads/master: 8a4e76c14cbe0609fdb5c558f867fe7c556bb1c7
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/uvc/uvc_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ int uvc_ctrl_set(struct uvc_video_chain *chain,

if (mapping->v4l2_type == V4L2_CTRL_TYPE_MENU) {
if (value < 0 || value >= mapping->menu_count)
return -EINVAL;
return -ERANGE;
value = mapping->menu_info[value].value;
}

Expand Down

0 comments on commit 84a78e5

Please sign in to comment.