Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57401
b: refs/heads/master
c: fbd5604
h: refs/heads/master
i:
  57399: 1de4523
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jun 6, 2007
1 parent 897bd4f commit 4011673
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1fe5f2c4503cf45806a47c608706fc7892649d4b
refs/heads/master: fbd5604d56c4543457aeae6dda69c9b8a1405474
5 changes: 3 additions & 2 deletions trunk/arch/mips/mm/dma-default.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ int dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
addr = (unsigned long) page_address(sg->page);
if (!plat_device_is_coherent(dev) && addr)
__dma_sync(addr + sg->offset, sg->length, direction);
sg->dma_address = plat_map_dma_mem_page(dev, sg->page) +
sg->offset;
sg->dma_address = plat_map_dma_mem(dev,
(void *)(addr + sg->offset),
sg->length);
}

return nents;
Expand Down

0 comments on commit 4011673

Please sign in to comment.