summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/video-buf.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-04-05 08:13:45 +0000
committerGerd Knorr <devnull@localhost>2004-04-05 08:13:45 +0000
commitdf528006bcc2cd0a4a0449fdc73a3153c1eeb918 (patch)
treecf3103d3bb93b3792ad4302f00693329bff528d6 /linux/drivers/media/video/video-buf.c
parent72805052459ca2a55b247783c8a6d701b20598b9 (diff)
downloadmediapointer-dvb-s2-df528006bcc2cd0a4a0449fdc73a3153c1eeb918.tar.gz
mediapointer-dvb-s2-df528006bcc2cd0a4a0449fdc73a3153c1eeb918.tar.bz2
- merge video-buf fix from 2.6.5
Diffstat (limited to 'linux/drivers/media/video/video-buf.c')
-rw-r--r--linux/drivers/media/video/video-buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/video-buf.c b/linux/drivers/media/video/video-buf.c
index bedf09b4c..d05531a04 100644
--- a/linux/drivers/media/video/video-buf.c
+++ b/linux/drivers/media/video/video-buf.c
@@ -231,7 +231,7 @@ int videobuf_dma_pci_sync(struct pci_dev *dev, struct videobuf_dmabuf *dma)
BUG_ON(!dma->sglen);
if (!dma->bus_addr)
- pci_dma_sync_sg(dev,dma->sglist,dma->nr_pages,dma->direction);
+ pci_dma_sync_sg_for_cpu(dev,dma->sglist,dma->nr_pages,dma->direction);
return 0;
}