dmaengine: plx_dma: Don't set chancnt
authorJisheng Zhang <jszhang@kernel.org>
Sun, 21 May 2023 10:02:50 +0000 (18:02 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 24 May 2023 06:54:32 +0000 (12:24 +0530)
commitc68533337cad07e9239b7cac42d4e07f844ba95b
treea777a9f75114eede5881b17d14b7dd815113b160
parentd27afd7ae6a316fac4d1f613db2de02ce1e872a4
dmaengine: plx_dma: 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>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://lore.kernel.org/r/20230521100252.3197-4-jszhang@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/plx_dma.c