diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-11-16 13:09:03 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-12-05 15:36:32 +0530 |
commit | 27bc944ca39ff1ed69bc48a38dc057e15ea3d1c0 (patch) | |
tree | 1f720f5e564845062cd9eeb911ad427d95b37453 /lib/md5.c | |
parent | ef10b0b24143238c4457e0e60ec230b0fcc342a4 (diff) | |
download | linux-27bc944ca39ff1ed69bc48a38dc057e15ea3d1c0.tar.bz2 |
dmaengine: bcm2835-dma: Convert to use DMA pool
f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a
running transfer
Fixed the memleak, but introduced another issue: the terminate_all callback
might be called with interrupts disabled and the dma_free_coherent() is
not allowed to be called when IRQs are disabled.
Convert the driver to use dma_pool_* for managing the list of control
blocks for the transfer.
Fixes: f93178291712 ("dmaengine: bcm2835-dma: Fix memory leak when stopping a running transfer")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib/md5.c')
0 files changed, 0 insertions, 0 deletions