projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cede5
)
dmaengine: fsldma: fix memory leak
author
Xuelin Shi
<xuelin.shi@nxp.com>
Tue, 8 Mar 2016 06:02:01 +0000
(14:02 +0800)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 9 Mar 2016 06:45:22 +0000
(12:15 +0530)
adding unmap of sources and destinations while doing dequeue.
Signed-off-by: Xuelin Shi <xuelin.shi@nxp.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/fsldma.c
patch
|
blob
|
history
diff --git
a/drivers/dma/fsldma.c
b/drivers/dma/fsldma.c
index 2209f75fdf05bf29114f0fb3ffedff89f55b43f3..aac85c30c2cf6fc64669841c5b6abb5317df1b94 100644
(file)
--- a/
drivers/dma/fsldma.c
+++ b/
drivers/dma/fsldma.c
@@
-522,6
+522,8
@@
static dma_cookie_t fsldma_run_tx_complete_actions(struct fsldma_chan *chan,
chan_dbg(chan, "LD %p callback\n", desc);
txd->callback(txd->callback_param);
}
+
+ dma_descriptor_unmap(txd);
}
/* Run any dependencies */