dmaengine: sprd: Don't set chancnt
authorJisheng Zhang <jszhang@kernel.org>
Sun, 21 May 2023 10:02:52 +0000 (18:02 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 24 May 2023 06:54:32 +0000 (12:24 +0530)
commit907514a7dc4c574136e8fb576b014be05d25813a
treed88f91216c27b57dc66d67b520e3b109dde96ab6
parenta10119a8b49bbd59c1bea4dfe5ea75d08d8506e5
dmaengine: sprd: Don't set chancnt

The dma framework will calculate the dma channels chancnt, setting it
ourself is wrong.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230521100252.3197-6-jszhang@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sprd-dma.c