summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/tmio_mmc.c
diff options
context:
space:
mode:
authorPer Forlin <per.forlin@linaro.org>2011-08-29 15:35:59 +0200
committerUlf HANSSON <ulf.hansson@stericsson.com>2011-09-26 14:02:35 +0200
commit0770d45e8ad8b60a03f518cf798e1ded1d1d4028 (patch)
tree054566fc2e97eb1d79fac8b3e75072b281b5523c /drivers/mmc/host/tmio_mmc.c
parentacd9a97a9e1b84afeeb72de9495e50e2708eef8b (diff)
mmc: mmci: simplify err check in mmci_post_requestu8500-android-2.3_v4.2
The error condition indicates that mmci_post_request() should cleanup after the mmci_pre_request(). In this case the resources allocated by device_prep_slave_sg() are freed by calling dmaengine_terminate_all(). dma_unmap_sg() should always be performed if the host_cookie is set. Signed-off-by: Per Forlin <per.forlin@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org> Change-Id: I04172ae0d6fc7089d126f7f2d7687c69fa5646f7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31975 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.c')
0 files changed, 0 insertions, 0 deletions