dmaengine: dw-axi-dmac: Don't set chancnt
authorJisheng Zhang <jszhang@kernel.org>
Sun, 21 May 2023 10:02:48 +0000 (18:02 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 24 May 2023 06:54:32 +0000 (12:24 +0530)
commit3a4905c59832896f811f8b3e840be936ae598dd1
tree14d6869c0af81a6a8c56be4f75b59d738439e541
parent8975dd41a9dbca3b47f7b8dac5bc4dfb23011000
dmaengine: dw-axi-dmac: 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>
Link: https://lore.kernel.org/r/20230521100252.3197-2-jszhang@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c