mmc: omap_hsmmc: use original sg_len for dma_unmap_sg
authorPer Forlin <per.forlin@linaro.org>
Fri, 17 Jun 2011 18:14:21 +0000 (20:14 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 25 Jun 2011 22:51:28 +0000 (18:51 -0400)
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: Per Forlin <per.forlin@linaro.org>
Reviewed-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c

Simple merge