OSDN Git Service
(root)
/
android-x86
/
kernel.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
2209f75
..
aac85c3
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 */