summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dmaengine.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2019-12-16 20:01:20 +0100
committerVinod Koul <vkoul@kernel.org>2019-12-24 05:48:37 +0100
commitbf453a0a18b224f1379658245c892fd9e1907580 (patch)
treeb37d4e4917717e30477092f790ac8ed5cebfbfe4 /drivers/dma/dmaengine.c
parentdmaengine: Add reference counting to dma_device struct (diff)
downloadlinux-bf453a0a18b224f1379658245c892fd9e1907580.tar.xz
linux-bf453a0a18b224f1379658245c892fd9e1907580.zip
dmaengine: ioat: Support in-use unbind
Don't allocate memory using the devm infrastructure and instead call kfree with the new dmaengine device_release call back. This ensures the structures are available until the last reference is dropped. We also need to ensure we call ioat_shutdown() in ioat_remove() so that all the channels are quiesced and further transaction fails. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Acked-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20191216190120.21374-6-logang@deltatee.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions