commit | 6f9ad6f75dd5dab3a51448fb5d8a957eb7026e2c | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Sun Apr 17 00:48:36 2011 +0800 |
committer | Sahitya Tummala <stummala@codeaurora.org> | Thu Mar 14 09:32:56 2013 +0530 |
tree | 07143c3113f4e0039795a5cb9f4ea0f3785f9a4f | |
parent | 535573d441d6c025dc656efc0627bbbfd1d82d2a [diff] |
mmc: sdhci: 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 sdhci_request(), request() will prepare the cache just like it did it before. It is optional to use pre_req() and post_req(). Change-Id: I32cabddc4ec824515fa9ba4ff0ad7bce3679a3ef Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Patch-mainline: linux-mmc @ 16/04/11, 09:43 Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>