diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-07-01 18:55:23 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-20 17:21:10 -0400 |
commit | 9782aff8df7e32e7745cc484f34ec471d9251651 (patch) | |
tree | 0159cbdb6b2a63e81b695209e22e1062148ca691 /drivers/mmc/host/mmci.h | |
parent | aa8b683a7d392271ed349c6ab9f36b8c313794b7 (diff) |
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 <per.forlin@linaro.org>
Reviewed-by: Venkatraman S <svenkatr@ti.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
0 files changed, 0 insertions, 0 deletions