Commit 2105fd55 authored by Pierrick Hascoet's avatar Pierrick Hascoet Committed by Vineet Gupta

arc: fix dma_address assignment during dma_map_sg()

Signed-off-by: default avatarPierrick Hascoet <pierrick.hascoet@abilis.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent a37b2dc5
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment