Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377182
b: refs/heads/master
c: 412cb87
h: refs/heads/master
v: v3
  • Loading branch information
Seung-Woo Kim authored and Mauro Carvalho Chehab committed Jun 3, 2013
1 parent 609d6b4 commit 1fb8459
Show file tree
Hide file tree
Showing 2 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: e9d98ddc0a4e4e11603c818bf234644031bff384
refs/heads/master: 412cb87d28a1f299ee82fe1c8bfe6cbeec9a4655
3 changes: 2 additions & 1 deletion trunk/drivers/media/v4l2-core/videobuf2-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,8 @@ unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait)
if (list_empty(&q->queued_list))
return res | POLLERR;

poll_wait(file, &q->done_wq, wait);
if (list_empty(&q->done_list))
poll_wait(file, &q->done_wq, wait);

/*
* Take first buffer available for dequeuing.
Expand Down

0 comments on commit 1fb8459

Please sign in to comment.