Skip to content
Commit 83c77940 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: move module_/dma_device_put() after route free



We call dma_device_put() and module_put() after invoking
.device_free_chan_resources callback, but we should also take care of
router devices and invoke this after .route_free callback. So move it
after .route_free

Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent bf453a0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment