All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap_vout: Add poll() support
@ 2011-08-24 10:27 Laurent Pinchart
  2011-08-31 12:24 ` Laurent Pinchart
  2011-09-24 21:03 ` Hiremath, Vaibhav
  0 siblings, 2 replies; 4+ messages in thread
From: Laurent Pinchart @ 2011-08-24 10:27 UTC (permalink / raw)
  To: hvaibhav; +Cc: linux-media

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/media/video/omap/omap_vout.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c
index a1f3c0f..cfc1705 100644
--- a/drivers/media/video/omap/omap_vout.c
+++ b/drivers/media/video/omap/omap_vout.c
@@ -1184,6 +1184,15 @@ static void omap_vout_buffer_release(struct videobuf_queue *q,
 /*
  *  File operations
  */
+static unsigned int omap_vout_poll(struct file *file,
+				   struct poll_table_struct *wait)
+{
+	struct omap_vout_device *vout = file->private_data;
+	struct videobuf_queue *q = &vout->vbq;
+
+	return videobuf_poll_stream(file, q, wait);
+}
+
 static void omap_vout_vm_open(struct vm_area_struct *vma)
 {
 	struct omap_vout_device *vout = vma->vm_private_data;
@@ -2175,6 +2184,7 @@ static const struct v4l2_ioctl_ops vout_ioctl_ops = {
 
 static const struct v4l2_file_operations omap_vout_fops = {
 	.owner 		= THIS_MODULE,
+	.poll		= omap_vout_poll,
 	.unlocked_ioctl	= video_ioctl2,
 	.mmap 		= omap_vout_mmap,
 	.open 		= omap_vout_open,
-- 
1.7.3.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] omap_vout: Add poll() support
  2011-08-24 10:27 [PATCH] omap_vout: Add poll() support Laurent Pinchart
@ 2011-08-31 12:24 ` Laurent Pinchart
  2011-09-18  0:05   ` Laurent Pinchart
  2011-09-24 21:03 ` Hiremath, Vaibhav
  1 sibling, 1 reply; 4+ messages in thread
From: Laurent Pinchart @ 2011-08-31 12:24 UTC (permalink / raw)
  To: hvaibhav; +Cc: linux-media

Hi Vaibhav,

Any opinion on this patch ?

On Wednesday 24 August 2011 12:27:49 Laurent Pinchart wrote:
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  drivers/media/video/omap/omap_vout.c |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/media/video/omap/omap_vout.c
> b/drivers/media/video/omap/omap_vout.c index a1f3c0f..cfc1705 100644
> --- a/drivers/media/video/omap/omap_vout.c
> +++ b/drivers/media/video/omap/omap_vout.c
> @@ -1184,6 +1184,15 @@ static void omap_vout_buffer_release(struct
> videobuf_queue *q, /*
>   *  File operations
>   */
> +static unsigned int omap_vout_poll(struct file *file,
> +				   struct poll_table_struct *wait)
> +{
> +	struct omap_vout_device *vout = file->private_data;
> +	struct videobuf_queue *q = &vout->vbq;
> +
> +	return videobuf_poll_stream(file, q, wait);
> +}
> +
>  static void omap_vout_vm_open(struct vm_area_struct *vma)
>  {
>  	struct omap_vout_device *vout = vma->vm_private_data;
> @@ -2175,6 +2184,7 @@ static const struct v4l2_ioctl_ops vout_ioctl_ops = {
> 
>  static const struct v4l2_file_operations omap_vout_fops = {
>  	.owner 		= THIS_MODULE,
> +	.poll		= omap_vout_poll,
>  	.unlocked_ioctl	= video_ioctl2,
>  	.mmap 		= omap_vout_mmap,
>  	.open 		= omap_vout_open,

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] omap_vout: Add poll() support
  2011-08-31 12:24 ` Laurent Pinchart
@ 2011-09-18  0:05   ` Laurent Pinchart
  0 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2011-09-18  0:05 UTC (permalink / raw)
  To: hvaibhav; +Cc: linux-media

On Wednesday 31 August 2011 14:24:52 Laurent Pinchart wrote:
> Hi Vaibhav,
> 
> Any opinion on this patch ?

Ping ?

> On Wednesday 24 August 2011 12:27:49 Laurent Pinchart wrote:
> > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> > ---
> > 
> >  drivers/media/video/omap/omap_vout.c |   10 ++++++++++
> >  1 files changed, 10 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/media/video/omap/omap_vout.c
> > b/drivers/media/video/omap/omap_vout.c index a1f3c0f..cfc1705 100644
> > --- a/drivers/media/video/omap/omap_vout.c
> > +++ b/drivers/media/video/omap/omap_vout.c
> > @@ -1184,6 +1184,15 @@ static void omap_vout_buffer_release(struct
> > videobuf_queue *q, /*
> > 
> >   *  File operations
> >   */
> > 
> > +static unsigned int omap_vout_poll(struct file *file,
> > +				   struct poll_table_struct *wait)
> > +{
> > +	struct omap_vout_device *vout = file->private_data;
> > +	struct videobuf_queue *q = &vout->vbq;
> > +
> > +	return videobuf_poll_stream(file, q, wait);
> > +}
> > +
> > 
> >  static void omap_vout_vm_open(struct vm_area_struct *vma)
> >  {
> >  
> >  	struct omap_vout_device *vout = vma->vm_private_data;
> > 
> > @@ -2175,6 +2184,7 @@ static const struct v4l2_ioctl_ops vout_ioctl_ops =
> > {
> > 
> >  static const struct v4l2_file_operations omap_vout_fops = {
> >  
> >  	.owner 		= THIS_MODULE,
> > 
> > +	.poll		= omap_vout_poll,
> > 
> >  	.unlocked_ioctl	= video_ioctl2,
> >  	.mmap 		= omap_vout_mmap,
> >  	.open 		= omap_vout_open,

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] omap_vout: Add poll() support
  2011-08-24 10:27 [PATCH] omap_vout: Add poll() support Laurent Pinchart
  2011-08-31 12:24 ` Laurent Pinchart
@ 2011-09-24 21:03 ` Hiremath, Vaibhav
  1 sibling, 0 replies; 4+ messages in thread
From: Hiremath, Vaibhav @ 2011-09-24 21:03 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-media


> -----Original Message-----
> From: Laurent Pinchart [mailto:laurent.pinchart@ideasonboard.com]
> Sent: Wednesday, August 24, 2011 3:58 PM
> To: Hiremath, Vaibhav
> Cc: linux-media@vger.kernel.org
> Subject: [PATCH] omap_vout: Add poll() support
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>  drivers/media/video/omap/omap_vout.c |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/media/video/omap/omap_vout.c
> b/drivers/media/video/omap/omap_vout.c
> index a1f3c0f..cfc1705 100644
> --- a/drivers/media/video/omap/omap_vout.c
> +++ b/drivers/media/video/omap/omap_vout.c
> @@ -1184,6 +1184,15 @@ static void omap_vout_buffer_release(struct
> videobuf_queue *q,
>  /*
>   *  File operations
>   */
> +static unsigned int omap_vout_poll(struct file *file,
> +				   struct poll_table_struct *wait)
> +{
> +	struct omap_vout_device *vout = file->private_data;
> +	struct videobuf_queue *q = &vout->vbq;
> +
> +	return videobuf_poll_stream(file, q, wait);
> +}
> +
>  static void omap_vout_vm_open(struct vm_area_struct *vma)
>  {
>  	struct omap_vout_device *vout = vma->vm_private_data;
> @@ -2175,6 +2184,7 @@ static const struct v4l2_ioctl_ops vout_ioctl_ops =
> {
> 
>  static const struct v4l2_file_operations omap_vout_fops = {
>  	.owner 		= THIS_MODULE,
> +	.poll		= omap_vout_poll,
>  	.unlocked_ioctl	= video_ioctl2,
>  	.mmap 		= omap_vout_mmap,
>  	.open 		= omap_vout_open,

Acked-By: Vaibhav Hiremath <hvaibhav@ti.com>

Thanks,
Vaibhav

> --
> 1.7.3.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-24 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-24 10:27 [PATCH] omap_vout: Add poll() support Laurent Pinchart
2011-08-31 12:24 ` Laurent Pinchart
2011-09-18  0:05   ` Laurent Pinchart
2011-09-24 21:03 ` Hiremath, Vaibhav

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.