diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-07-01 20:55:23 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-21 01:21:10 +0400 |
commit | 9782aff8df7e32e7745cc484f34ec471d9251651 (patch) | |
tree | 0159cbdb6b2a63e81b695209e22e1062148ca691 /drivers/nubus | |
parent | aa8b683a7d392271ed349c6ab9f36b8c313794b7 (diff) | |
download | linux-9782aff8df7e32e7745cc484f34ec471d9251651.tar.xz |
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/nubus')
0 files changed, 0 insertions, 0 deletions