* [RFC PATCH 0/1] V4L changes [not found] <"Francisco Alecrim <francisco.alecrim@indt.org.br> @ 2008-04-29 9:02 ` Francisco Alecrim 2008-04-29 9:02 ` [RFC PATCH 1/1] OMAP: V4L: Update videobuf-dma-sg usage on omap camera drivers Francisco Alecrim 0 siblings, 1 reply; 3+ messages in thread From: Francisco Alecrim @ 2008-04-29 9:02 UTC (permalink / raw) To: linux-omap Based on commit 0705135e59f8503e4dade4b3580fed77b1743b7c. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [RFC PATCH 1/1] OMAP: V4L: Update videobuf-dma-sg usage on omap camera drivers 2008-04-29 9:02 ` [RFC PATCH 0/1] V4L changes Francisco Alecrim @ 2008-04-29 9:02 ` Francisco Alecrim 2008-04-29 10:42 ` Francisco Alecrim 0 siblings, 1 reply; 3+ messages in thread From: Francisco Alecrim @ 2008-04-29 9:02 UTC (permalink / raw) To: linux-omap; +Cc: Francisco Alecrim Update videobuf-dma-sg usage on omap camera drivers Signed-off-by: Francisco Alecrim <francisco.alecrim@indt.org.br> --- drivers/media/video/omap/camera_core.c | 2 +- drivers/media/video/omap24xxcam.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/omap/camera_core.c b/drivers/media/video/omap/camera_core.c index dce47fc..eeedb36 100644 --- a/drivers/media/video/omap/camera_core.c +++ b/drivers/media/video/omap/camera_core.c @@ -916,7 +916,7 @@ static int camera_core_open(struct inode *inode, struct file *file) vidioc_int_g_fmt_cap(cam->sdev, &format); spin_unlock(&cam->img_lock); - videobuf_queue_pci_init(&fh->vbq, &cam->vbq_ops, NULL, &cam->vbq_lock, + videobuf_queue_sg_init(&fh->vbq, &cam->vbq_ops, NULL, &cam->vbq_lock, fh->type, V4L2_FIELD_NONE, sizeof(struct videobuf_buffer), fh); diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c index 4308fec..dfd3479 100644 --- a/drivers/media/video/omap24xxcam.c +++ b/drivers/media/video/omap24xxcam.c @@ -1493,7 +1493,7 @@ static int omap24xxcam_open(struct inode *inode, struct file *file) spin_lock_init(&fh->vbq_lock); - videobuf_queue_pci_init(&fh->vbq, &omap24xxcam_vbq_ops, NULL, + videobuf_queue_sg_init(&fh->vbq, &omap24xxcam_vbq_ops, NULL, &fh->vbq_lock, V4L2_BUF_TYPE_VIDEO_CAPTURE, V4L2_FIELD_NONE, sizeof(struct videobuf_buffer), fh); -- 1.5.4.4 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC PATCH 1/1] OMAP: V4L: Update videobuf-dma-sg usage on omap camera drivers 2008-04-29 9:02 ` [RFC PATCH 1/1] OMAP: V4L: Update videobuf-dma-sg usage on omap camera drivers Francisco Alecrim @ 2008-04-29 10:42 ` Francisco Alecrim 0 siblings, 0 replies; 3+ messages in thread From: Francisco Alecrim @ 2008-04-29 10:42 UTC (permalink / raw) To: Francisco Alecrim; +Cc: linux-omap Hi folks, We found a similar patch sent by Tony on thread "Re: linux-omap vs N810" a few hours ago. Sorry, Alecrim. Francisco Alecrim wrote: > Update videobuf-dma-sg usage on omap camera drivers > > Signed-off-by: Francisco Alecrim <francisco.alecrim@indt.org.br> > --- > drivers/media/video/omap/camera_core.c | 2 +- > drivers/media/video/omap24xxcam.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/video/omap/camera_core.c b/drivers/media/video/omap/camera_core.c > index dce47fc..eeedb36 100644 > --- a/drivers/media/video/omap/camera_core.c > +++ b/drivers/media/video/omap/camera_core.c > @@ -916,7 +916,7 @@ static int camera_core_open(struct inode *inode, struct file *file) > vidioc_int_g_fmt_cap(cam->sdev, &format); > spin_unlock(&cam->img_lock); > > - videobuf_queue_pci_init(&fh->vbq, &cam->vbq_ops, NULL, &cam->vbq_lock, > + videobuf_queue_sg_init(&fh->vbq, &cam->vbq_ops, NULL, &cam->vbq_lock, > fh->type, V4L2_FIELD_NONE, > sizeof(struct videobuf_buffer), fh); > > diff --git a/drivers/media/video/omap24xxcam.c b/drivers/media/video/omap24xxcam.c > index 4308fec..dfd3479 100644 > --- a/drivers/media/video/omap24xxcam.c > +++ b/drivers/media/video/omap24xxcam.c > @@ -1493,7 +1493,7 @@ static int omap24xxcam_open(struct inode *inode, struct file *file) > > spin_lock_init(&fh->vbq_lock); > > - videobuf_queue_pci_init(&fh->vbq, &omap24xxcam_vbq_ops, NULL, > + videobuf_queue_sg_init(&fh->vbq, &omap24xxcam_vbq_ops, NULL, > &fh->vbq_lock, V4L2_BUF_TYPE_VIDEO_CAPTURE, > V4L2_FIELD_NONE, > sizeof(struct videobuf_buffer), fh); > -- Francisco Keppler Silva Alecrim - INdT Phone: +55 92 2126-1017 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-29 10:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <"Francisco Alecrim <francisco.alecrim@indt.org.br>
2008-04-29 9:02 ` [RFC PATCH 0/1] V4L changes Francisco Alecrim
2008-04-29 9:02 ` [RFC PATCH 1/1] OMAP: V4L: Update videobuf-dma-sg usage on omap camera drivers Francisco Alecrim
2008-04-29 10:42 ` Francisco Alecrim
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox