Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330740
b: refs/heads/master
c: b1e71f3
h: refs/heads/master
v: v3
  • Loading branch information
Michael Jones authored and Mauro Carvalho Chehab committed Aug 11, 2012
1 parent b786c4e commit c0b31ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 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: 13eaaa7f2fa1d2bd247d68792bf187239a24a33f
refs/heads/master: b1e71f31cb315cdc3be5a861b2eaab7401b70295
13 changes: 7 additions & 6 deletions trunk/drivers/media/video/omap3isp/ispqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -908,13 +908,14 @@ int omap3isp_video_queue_qbuf(struct isp_video_queue *queue,
*
* This function is intended to be used as a VIDIOC_DQBUF ioctl handler.
*
* The v4l2_buffer structure passed from userspace is first sanity tested. If
* sane, the buffer is then processed and added to the main queue and, if the
* queue is streaming, to the IRQ queue.
* Wait until a buffer is ready to be dequeued, remove it from the queue and
* copy its information to the v4l2_buffer structure.
*
* Before being enqueued, USERPTR buffers are checked for address changes. If
* the buffer has a different userspace address, the old memory area is unlocked
* and the new memory area is locked.
* If the nonblocking argument is not zero and no buffer is ready, return
* -EAGAIN immediately instead of waiting.
*
* If no buffer has been enqueued, or if the requested buffer type doesn't match
* the queue type, return -EINVAL.
*/
int omap3isp_video_queue_dqbuf(struct isp_video_queue *queue,
struct v4l2_buffer *vbuf, int nonblocking)
Expand Down

0 comments on commit c0b31ba

Please sign in to comment.