Skip to content

Commit

Permalink
arc: fix dma_address assignment during dma_map_sg()
Browse files Browse the repository at this point in the history
Signed-off-by: Pierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Pierrick Hascoet authored and Vineet Gupta committed Mar 19, 2013
1 parent a37b2dc commit 2105fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arc/include/asm/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ dma_map_sg(struct device *dev, struct scatterlist *sg,
int i;

for_each_sg(sg, s, nents, i)
sg->dma_address = dma_map_page(dev, sg_page(s), s->offset,
s->dma_address = dma_map_page(dev, sg_page(s), s->offset,
s->length, dir);

return nents;
Expand Down

0 comments on commit 2105fd5

Please sign in to comment.