From: Per Forlin Date: Fri, 1 Jul 2011 16:55:24 +0000 (+0200) Subject: mmc: mmci: implement pre_req() and post_req() X-Git-Tag: v3.1-rc1~321^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58c7ccbf9109abcc6b7ed2f76c21ebee244d31a8;p=pandora-kernel.git mmc: mmci: implement pre_req() and post_req() pre_req() runs dma_map_sg() and prepares the dma descriptor for the next mmc data transfer. post_req() runs dma_unmap_sg. If not calling pre_req() before mmci_request(), mmci_request() will prepare the cache and dma just like it did it before. It is optional to use pre_req() and post_req() for mmci. Signed-off-by: Per Forlin Tested-by: Linus Walleij Signed-off-by: Chris Ball --- Reading git-diff-tree failed