V4L/DVB: OMAP_VOUT: fix: Replaced dma-sg with dma-contig

Previous thread: MAINTAINERS: fix EDAC-I7CORE file patterns by Linux Kernel Mailing List on Monday, July 12, 2010 - 4:59 pm. (1 message)

Next thread: MAINTAINERS: fix EDAC-I7CORE file patterns by Linux Kernel Mailing List on Monday, July 12, 2010 - 4:59 pm. (1 message)
From: Linux Kernel Mailing List
Date: Monday, July 12, 2010 - 4:59 pm

Gitweb:     http://git.kernel.org/linus/dd880dd477f11aceffb2866f702c718fec2862f4
Commit:     dd880dd477f11aceffb2866f702c718fec2862f4
Parent:     5ba9bb0ef658a7f4c082cdfc4f779729506042f5
Author:     Vaibhav Hiremath <hvaibhav@ti.com>
AuthorDate: Thu May 27 08:17:08 2010 -0300
Committer:  Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Thu Jul 8 16:49:37 2010 -0300

    V4L/DVB: OMAP_VOUT: fix: Replaced dma-sg with dma-contig
    
    Actually OMAP doesn't support scatter-gather DMA for
    Display subsystem but due to legacy coding it has been overlooked
    till now.
    
    Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
    Signed-off-by: Muralidharan Karicheri <mkaricheri@gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
 drivers/media/video/omap/Kconfig     |    2 +-
 drivers/media/video/omap/omap_vout.c |   46 +++++++++++-----------------------
 2 files changed, 16 insertions(+), 32 deletions(-)

diff --git a/drivers/media/video/omap/Kconfig b/drivers/media/video/omap/Kconfig
index c1d1933..e63233f 100644
--- a/drivers/media/video/omap/Kconfig
+++ b/drivers/media/video/omap/Kconfig
@@ -2,7 +2,7 @@ config VIDEO_OMAP2_VOUT
 	tristate "OMAP2/OMAP3 V4L2-Display driver"
 	depends on ARCH_OMAP2 || ARCH_OMAP3
 	select VIDEOBUF_GEN
-	select VIDEOBUF_DMA_SG
+	select VIDEOBUF_DMA_CONTIG
 	select OMAP2_DSS
 	select OMAP2_VRAM
 	select OMAP2_VRFB
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c
index dfa6826..929073e 100644
--- a/drivers/media/video/omap/omap_vout.c
+++ b/drivers/media/video/omap/omap_vout.c
@@ -40,7 +40,7 @@
 #include <linux/videodev2.h>
 #include <linux/slab.h>
 
-#include <media/videobuf-dma-sg.h>
+#include <media/videobuf-dma-contig.h>
 #include <media/v4l2-device.h>
 #include <media/v4l2-ioctl.h>
 
@@ -1054,9 +1054,9 @@ static int omap_vout_buffer_prepare(struct videobuf_queue *q,
 			    struct videobuf_buffer *vb,
 			    enum v4l2_field field)
 {
+	dma_addr_t ...
Previous thread: MAINTAINERS: fix EDAC-I7CORE file patterns by Linux Kernel Mailing List on Monday, July 12, 2010 - 4:59 pm. (1 message)

Next thread: MAINTAINERS: fix EDAC-I7CORE file patterns by Linux Kernel Mailing List on Monday, July 12, 2010 - 4:59 pm. (1 message)