Skip to content
Commit a9120c33 authored by Per Forlin's avatar Per Forlin Committed by Chris Ball
Browse files

mmc: omap_hsmmc: use original sg_len for dma_unmap_sg



Don't use the returned sg_len from dma_map_sg() as inparameter
to dma_unmap_sg(). Use the original sg_len for both dma_map_sg
and dma_unmap_sg according to the documentation in DMA-API.txt.

Signed-off-by: default avatarPer Forlin <per.forlin@linaro.org>
Reviewed-by: default avatarVenkatraman S <svenkatr@ti.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 4a3dc6ef
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