Peter Ujfalusi 27bc944ca3 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>
2015-12-05 15:36:32 +05:30
..
2015-11-10 10:05:17 -08:00
2015-10-17 21:22:08 -07:00
2015-11-10 10:05:17 -08:00
2013-01-07 17:36:37 +01:00
2015-11-10 10:05:17 -08:00
2015-11-10 10:05:17 -08:00
2015-09-04 11:10:18 -07:00
2015-09-04 11:10:18 -07:00
2015-11-10 10:05:17 -08:00
2015-11-10 10:05:17 -08:00