Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271808
b: refs/heads/master
c: 61e6561
h: refs/heads/master
v: v3
  • Loading branch information
Michael Jones authored and Mauro Carvalho Chehab committed Sep 11, 2011
1 parent 90912ec commit 64940b7
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 00542edf071e249ccb541ffb2d2b9034e2533968
refs/heads/master: 61e6561fae573c3c618118a71ff966ddb14299da
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/omap3isp/ispqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,10 @@ int omap3isp_video_queue_qbuf(struct isp_video_queue *queue,
if (buf->state != ISP_BUF_STATE_IDLE)
goto done;

if (vbuf->memory == V4L2_MEMORY_USERPTR &&
vbuf->length < buf->vbuf.length)
goto done;

if (vbuf->memory == V4L2_MEMORY_USERPTR &&
vbuf->m.userptr != buf->vbuf.m.userptr) {
isp_video_buffer_cleanup(buf);
Expand Down

0 comments on commit 64940b7

Please sign in to comment.