Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275367
b: refs/heads/master
c: b36b505
h: refs/heads/master
i:
  275365: 9252572
  275363: 1e4090f
  275359: c024d25
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Nov 8, 2011
1 parent a2b6921 commit d1707a3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 60659dd49509f255ad9748411cd4eb3c74a8d8a9
refs/heads/master: b36b505965e374b284166c2e6b9c1d369d663ea9
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/v4l2-event.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ int v4l2_event_subscribe(struct v4l2_fh *fh,
unsigned long flags;
unsigned i;

if (sub->type == V4L2_EVENT_ALL)
return -EINVAL;

if (elems < 1)
elems = 1;
if (sub->type == V4L2_EVENT_CTRL) {
Expand Down

0 comments on commit d1707a3

Please sign in to comment.