dmaengine: sprd: Fix the right place to configure 2-stage transfer
authorEric Long <eric.long@unisoc.com>
Mon, 6 May 2019 07:28:32 +0000 (15:28 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 21 May 2019 13:53:54 +0000 (19:23 +0530)
commitc434e377dad1dec05cad1870ce21bc539e1e024f
tree0a5aa004b759ad8f5b347d56942306fdff6f9919
parent89d03b3c126d683f7b2cd5b07178493993d12448
dmaengine: sprd: Fix the right place to configure 2-stage transfer

Move the 2-stage configuration before configuring the link-list mode,
since we will use some 2-stage configuration to fill the link-list
configuration.

Signed-off-by: Eric Long <eric.long@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sprd-dma.c