From: Per Forlin Date: Fri, 1 Jul 2011 16:55:23 +0000 (+0200) Subject: mmc: omap_hsmmc: add support for pre_req and post_req X-Git-Tag: v3.1-rc1~321^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9782aff8df7e32e7745cc484f34ec471d9251651;p=pandora-kernel.git mmc: omap_hsmmc: add support for pre_req and post_req pre_req() runs dma_map_sg(), post_req() runs dma_unmap_sg. If not calling pre_req() before omap_hsmmc_request(), dma_map_sg will be issued before starting the transfer. It is optional to use pre_req(). If issuing pre_req(), post_req() must be called as well. Signed-off-by: Per Forlin Reviewed-by: Venkatraman S Tested-by: Sourav Poddar Signed-off-by: Chris Ball --- Reading git-diff-tree failed