diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-07-01 20:55:24 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-21 01:21:11 +0400 |
commit | 58c7ccbf9109abcc6b7ed2f76c21ebee244d31a8 (patch) | |
tree | 967a7f70d04bbe02e1999f48c66234b3b37dfc91 /drivers/nubus | |
parent | 9782aff8df7e32e7745cc484f34ec471d9251651 (diff) | |
download | linux-58c7ccbf9109abcc6b7ed2f76c21ebee244d31a8.tar.xz |
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 <per.forlin@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions