mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
dmaengine: fsldma: fix memory leak
adding unmap of sources and destinations while doing dequeue. Signed-off-by: Xuelin Shi <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
f6cede5b49
commit
a9af316c83
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue