Files
linux-st/include/linux
Logan Gunthorpe 8ad342a863 dmaengine: Add reference counting to dma_device struct
Adding a reference count helps drivers to properly implement the unbind
while in use case.

References are taken and put every time a channel is allocated or freed.

Once the final reference is put, the device is removed from the
dma_device_list and a release callback function is called to signal
the driver to free the memory.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://lore.kernel.org/r/20191216190120.21374-5-logang@deltatee.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-12-24 10:18:32 +05:30
..
2019-12-03 07:36:38 -07:00
2019-12-03 11:20:37 +01:00
2019-12-01 12:59:06 -08:00
2019-12-04 19:44:14 -08:00
2019-12-04 19:44:14 -08:00
2019-12-01 06:29:17 -08:00