diff options
author | Sia Jee Heng <[email protected]> | 2021-01-25 09:32:41 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-02-01 15:08:14 +0530 |
commit | 0b9d2fb368b97823a477221649ac82d17a9af11b (patch) | |
tree | 427d1511331769b888d998e8b20d63f94ffbbeee /scripts/gdb/linux/tasks.py | |
parent | ef6fb2d6f1abd56cc067c694253ea362159b5ac3 (diff) |
dmaengine: dw-axi-dmac: move dma_pool_create() to alloc_chan_resources()
The DMA memory block is created at driver load time and exist for
device lifetime. Move the dma_pool_create() to the ->chan_resource()
callback function allowing the DMA memory blocks to be created as needed
and destroyed when the channel is freed.
Signed-off-by: Sia Jee Heng <[email protected]>
Tested-by: Eugeniy Paltsev <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Eugeniy Paltsev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions