Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1e71f31 authored by Michael Jones's avatar Michael Jones Committed by Mauro Carvalho Chehab
Browse files

[media] omap3isp: queue: Fix omap3isp_video_queue_dqbuf() description comment

parent 13eaaa7f
Loading
Loading
Loading
Loading
+7 −6
Original line number Original line Diff line number Diff line
@@ -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.
 * 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
 * Wait until a buffer is ready to be dequeued, remove it from the queue and
 * sane, the buffer is then processed and added to the main queue and, if the
 * copy its information to the v4l2_buffer structure.
 * queue is streaming, to the IRQ queue.
 *
 *
 * Before being enqueued, USERPTR buffers are checked for address changes. If
 * If the nonblocking argument is not zero and no buffer is ready, return
 * the buffer has a different userspace address, the old memory area is unlocked
 * -EAGAIN immediately instead of waiting.
 * and the new memory area is locked.
 *
 * 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,
int omap3isp_video_queue_dqbuf(struct isp_video_queue *queue,
			       struct v4l2_buffer *vbuf, int nonblocking)
			       struct v4l2_buffer *vbuf, int nonblocking)