Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306298
b: refs/heads/master
c: a67e172
h: refs/heads/master
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed May 14, 2012
1 parent effec6a commit 235c562
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: 1dd8728e2147820f653e5ea92802002fb26131f1
refs/heads/master: a67e17221429c0322e543ae4bf0b25259c3416a5
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/videobuf2-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,6 @@ static int __vb2_init_fileio(struct vb2_queue *q, int read)
* (multiplane buffers are not supported).
*/
if (q->bufs[0]->num_planes != 1) {
fileio->req.count = 0;
ret = -EBUSY;
goto err_reqbufs;
}
Expand Down Expand Up @@ -1904,6 +1903,7 @@ static int __vb2_init_fileio(struct vb2_queue *q, int read)
return ret;

err_reqbufs:
fileio->req.count = 0;
vb2_reqbufs(q, &fileio->req);

err_kfree:
Expand Down

0 comments on commit 235c562

Please sign in to comment.