projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dmaengine: prepare for generic 'unmap' data
[linux-2.6-block.git]
/
drivers
/
dma
/
ioat
/
dma.c
diff --git
a/drivers/dma/ioat/dma.c
b/drivers/dma/ioat/dma.c
index 5ff6fc1819dc6a2e90c035956b23e23c56f9bb5d..26f8cfd6bc3f02b28bdc4d3a006b534a06c142f6 100644
(file)
--- a/
drivers/dma/ioat/dma.c
+++ b/
drivers/dma/ioat/dma.c
@@
-602,6
+602,7
@@
static void __cleanup(struct ioat_dma_chan *ioat, dma_addr_t phys_complete)
dump_desc_dbg(ioat, desc);
if (tx->cookie) {
dma_cookie_complete(tx);
+ dma_descriptor_unmap(tx);
ioat_dma_unmap(chan, tx->flags, desc->len, desc->hw);
ioat->active -= desc->hw->tx_cnt;
if (tx->callback) {