Re: [PATCH RESEND] omap_hsmmc: use original sg_len for dma_unmap_sg

2011-06-18 Thread Chris Ball
Hi Per, On Fri, Jun 17 2011, Per Forlin wrote: > 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: Venkatram

[PATCH RESEND] omap_hsmmc: use original sg_len for dma_unmap_sg

2011-06-17 Thread Per Forlin
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 --- drivers/mmc/host/omap_hsmmc.c |5 +++-- 1 fi