aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2013-01-21 21:29:34 +0100
committerRussell King <[email protected]>2013-01-28 14:14:48 +0000
commit653a761e4ba70bf12174dedcd5fbbf54f431abb3 (patch)
tree3a35ac7f272c12d10dc3dd56ff601df597e5af9a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent3a37298ada749897ec2c5c1cdcd5932218eb2928 (diff)
ARM: 7630/1: mmc: mmci: Fixup and cleanup code for DMA handling
The cookie is now used to indicate if dma_unmap_sg shall be done in post_request. At DMA errors, the DMA job is immediately not only terminated but also unmapped. To indicate that this has been done the cookie is reset to zero. post_request will thus only do dma_umap_sg for requests which has a cookie not set to zero. Some corresponding duplicated code could then be removed and moreover some corrections at DMA errors for terminating the same DMA job twice has also been fixed. Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Per Forlin <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions