From: Per Forlin Date: Fri, 17 Jun 2011 18:14:21 +0000 (+0200) Subject: mmc: omap_hsmmc: use original sg_len for dma_unmap_sg X-Git-Tag: v3.0-rc5~23^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9120c33ffbb0b3448d833dae392edc90d6cfac2;p=pandora-kernel.git 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: Per Forlin Reviewed-by: Venkatraman S Signed-off-by: Chris Ball --- Reading git-diff-tree failed