summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/vino.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-06-11 18:17:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-11 18:17:50 -0300
commitfd4694cdbe15f591792ec5166c3d9791c4b1e34f (patch)
tree99866153be11055c726828017b089a40e7f8daa1 /linux/drivers/media/video/vino.c
parent4b038fe7fa0a646fedf0e49aa2bfba38c814e3ad (diff)
parentaaaaa6a00dd372109ceb39c63aef9088ec86e344 (diff)
downloadmediapointer-dvb-s2-fd4694cdbe15f591792ec5166c3d9791c4b1e34f.tar.gz
mediapointer-dvb-s2-fd4694cdbe15f591792ec5166c3d9791c4b1e34f.tar.bz2
merge: http://linuxtv.org/hg/~awalls/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/vino.c')
-rw-r--r--linux/drivers/media/video/vino.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/vino.c b/linux/drivers/media/video/vino.c
index 808d9434d..7c39b43ee 100644
--- a/linux/drivers/media/video/vino.c
+++ b/linux/drivers/media/video/vino.c
@@ -868,9 +868,9 @@ static void vino_sync_buffer(struct vino_framebuffer *fb)
dprintk("vino_sync_buffer():\n");
for (i = 0; i < fb->desc_table.page_count; i++)
- dma_sync_single(NULL,
- fb->desc_table.dma_cpu[VINO_PAGE_RATIO * i],
- PAGE_SIZE, DMA_FROM_DEVICE);
+ dma_sync_single_for_cpu(NULL,
+ fb->desc_table.dma_cpu[VINO_PAGE_RATIO * i],
+ PAGE_SIZE, DMA_FROM_DEVICE);
}
/* Framebuffer fifo functions (need to be locked externally) */