diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/vino.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/vino.c b/drivers/media/video/vino.c index 43e0998adb53..97b082fe4473 100644 --- a/drivers/media/video/vino.c +++ b/drivers/media/video/vino.c | |||
@@ -868,9 +868,9 @@ static void vino_sync_buffer(struct vino_framebuffer *fb) | |||
868 | dprintk("vino_sync_buffer():\n"); | 868 | dprintk("vino_sync_buffer():\n"); |
869 | 869 | ||
870 | for (i = 0; i < fb->desc_table.page_count; i++) | 870 | for (i = 0; i < fb->desc_table.page_count; i++) |
871 | dma_sync_single(NULL, | 871 | dma_sync_single_for_cpu(NULL, |
872 | fb->desc_table.dma_cpu[VINO_PAGE_RATIO * i], | 872 | fb->desc_table.dma_cpu[VINO_PAGE_RATIO * i], |
873 | PAGE_SIZE, DMA_FROM_DEVICE); | 873 | PAGE_SIZE, DMA_FROM_DEVICE); |
874 | } | 874 | } |
875 | 875 | ||
876 | /* Framebuffer fifo functions (need to be locked externally) */ | 876 | /* Framebuffer fifo functions (need to be locked externally) */ |