Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56074
b: refs/heads/master
c: 36a63ee
h: refs/heads/master
v: v3
  • Loading branch information
Sakari Ailus authored and Mauro Carvalho Chehab committed May 9, 2007
1 parent 4c8c3c2 commit dff54ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 5ad5e4845b441a00e4165e2c2e3ac8507db9cbe6
refs/heads/master: 36a63ee34b568de8d0762f9b07f34ae5caae7724
4 changes: 1 addition & 3 deletions trunk/drivers/media/video/video-buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,9 +702,7 @@ videobuf_qbuf(struct videobuf_queue *q,
dprintk(1,"qbuf: memory type is wrong.\n");
goto done;
}
if (buf->state == STATE_QUEUED ||
buf->state == STATE_PREPARED ||
buf->state == STATE_ACTIVE) {
if (buf->state != STATE_NEEDS_INIT && buf->state != STATE_IDLE) {
dprintk(1,"qbuf: buffer is already queued or active.\n");
goto done;
}
Expand Down

0 comments on commit dff54ec

Please sign in to comment.