diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-07-01 18:55:24 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 16:07:34 +0200 |
commit | 8de79197240d994113d82e51f29a05922be1b6e2 (patch) | |
tree | 53f53c0e1c07b292de01265948e77ed6a8291384 /sound | |
parent | e1dfe6b6be07a764c0d276b32415489f0c41ed8d (diff) |
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>
Change-Id: I0e0a11ac5db9dc99da48e754813db251b688321e
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30858
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions