dmaengine: Move dma_channel_rebalance() infrastructure up in code
authorLogan Gunthorpe <logang@deltatee.com>
Mon, 16 Dec 2019 19:01:18 +0000 (12:01 -0700)
committerVinod Koul <vkoul@kernel.org>
Tue, 24 Dec 2019 04:48:32 +0000 (10:18 +0530)
commit11a0fd2b3baa5e4a97197b9cd990b5d05e69d669
tree7398d5fe122656652902fa444fe7f111dc43cdba
parent686607106f1fe163f7d017561f3622f39a291de8
dmaengine: Move dma_channel_rebalance() infrastructure up in code

So it can be called by a release function which is needed higher up in
the code. No functional changes intended.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://lore.kernel.org/r/20191216190120.21374-4-logang@deltatee.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmaengine.c