All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Michael Jones <michael.jones@matrix-vision.de>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] [media] omap3isp: fix dqbuf description comment
Date: Thu, 05 Jul 2012 23:13:36 +0200	[thread overview]
Message-ID: <3404714.AxthdyaIu4@avalon> (raw)
In-Reply-To: <1340809617-5914-1-git-send-email-michael.jones@matrix-vision.de>

Hi Michael,

Thanks for the patch.

On Wednesday 27 June 2012 17:06:57 Michael Jones wrote:
> Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
> ---
>  drivers/media/video/omap3isp/ispqueue.c |    9 ++-------
>  1 files changed, 2 insertions(+), 7 deletions(-)
> 
> This comment looks like it was a copy-paste from the description of qbuf.

You're right. I've applied your patch to my tree, with a slightly modified 
comment.

> diff --git a/drivers/media/video/omap3isp/ispqueue.c
> b/drivers/media/video/omap3isp/ispqueue.c index 5fda5d0..23915ce 100644
> --- a/drivers/media/video/omap3isp/ispqueue.c
> +++ b/drivers/media/video/omap3isp/ispqueue.c
> @@ -908,13 +908,8 @@ done:
>   *
>   * 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.
> - *
> - * 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 nonblocking=1, returns -EAGAIN if no buffer is available.
> + * if nonblocking=0, waits on IRQ queue until a buffer becomes available.
>   */
>  int omap3isp_video_queue_dqbuf(struct isp_video_queue *queue,
>  			       struct v4l2_buffer *vbuf, int nonblocking)
-- 
Regards,

Laurent Pinchart


      reply	other threads:[~2012-07-05 21:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 15:06 [PATCH] [media] omap3isp: fix dqbuf description comment Michael Jones
2012-07-05 21:13 ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3404714.AxthdyaIu4@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=michael.jones@matrix-vision.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.