Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377183
b: refs/heads/master
c: 5718346
h: refs/heads/master
i:
  377181: 609d6b4
  377179: c9ea3a3
  377175: 37712ab
  377167: 77d96e9
  377151: 3899324
v: v3
  • Loading branch information
Seung-Woo Kim authored and Mauro Carvalho Chehab committed Jun 3, 2013
1 parent 1fb8459 commit 92c826d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 412cb87d28a1f299ee82fe1c8bfe6cbeec9a4655
refs/heads/master: 57183467c09555d985ae62b79c754e64279381df
6 changes: 4 additions & 2 deletions trunk/drivers/media/v4l2-core/v4l2-mem2mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,10 @@ unsigned int v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
if (m2m_ctx->m2m_dev->m2m_ops->unlock)
m2m_ctx->m2m_dev->m2m_ops->unlock(m2m_ctx->priv);

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

if (m2m_ctx->m2m_dev->m2m_ops->lock)
m2m_ctx->m2m_dev->m2m_ops->lock(m2m_ctx->priv);
Expand Down

0 comments on commit 92c826d

Please sign in to comment.