Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193100
b: refs/heads/master
c: fc7f8fd
h: refs/heads/master
v: v3
  • Loading branch information
Arnout Vandecappelle authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent 98e2ed7 commit f8055ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c06b062bea411f616b0890d502044c7871d5332f
refs/heads/master: fc7f8fd42c2b934ac348995e0c530c917fc277d5
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/videobuf-dma-sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ int videobuf_dma_unmap(struct videobuf_queue *q, struct videobuf_dmabuf *dma)
if (!dma->sglen)
return 0;

dma_unmap_sg(q->dev, dma->sglist, dma->nr_pages, dma->direction);
dma_unmap_sg(q->dev, dma->sglist, dma->sglen, dma->direction);

vfree(dma->sglist);
dma->sglist = NULL;
Expand Down Expand Up @@ -537,7 +537,7 @@ static int __videobuf_sync(struct videobuf_queue *q,
MAGIC_CHECK(mem->dma.magic, MAGIC_DMABUF);

dma_sync_sg_for_cpu(q->dev, mem->dma.sglist,
mem->dma.nr_pages, mem->dma.direction);
mem->dma.sglen, mem->dma.direction);

return 0;
}
Expand Down

0 comments on commit f8055ef

Please sign in to comment.