diff options
author | Per Forlin <[email protected]> | 2011-08-29 15:35:59 +0200 |
---|---|---|
committer | Chris Ball <[email protected]> | 2011-10-26 16:32:04 -0400 |
commit | 8e3336b1e4378f7d205af9b25dcc9e645c8a9609 (patch) | |
tree | 6cf706421307d3f512efbd51e15d2c88cd8df382 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7c8a2829c22a270acadc6aa3a937e2e7956b19f5 (diff) |
mmc: mmci: simplify err check in mmci_post_request
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 <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions