mbox series

[v3,0/5] dma: don't set chancnt

Message ID 20230521100252.3197-1-jszhang@kernel.org (mailing list archive)
Headers show
Series dma: don't set chancnt | expand

Message

Jisheng Zhang May 21, 2023, 10:02 a.m. UTC
I'm patching dw-axi-dmac to add more features, but I found a small
clean up point and some drivers in drivers/dma/ have the same issue,
so this series comes.

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

NOTE: I leave drivers/dma/ioat/ as is, because its logic have a
heavy dependency on chancnt usage, however it's still doable.

Since v2:
  - rebase on latest rc1
  - collet Acked-by tag

Since v1:
  - collet Acked-by tag
  - fix typo

Jisheng Zhang (5):
  dmaengine: dw-axi-dmac: Don't set chancnt
  dmaengine: axi-dmac: Don't set chancnt
  dmaengine: plx_dma: Don't set chancnt
  dmaengine: hidma: Don't set chancnt
  dmaengine: sprd: Don't set chancnt

 drivers/dma/dma-axi-dmac.c                     | 1 -
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 1 -
 drivers/dma/plx_dma.c                          | 1 -
 drivers/dma/qcom/hidma.c                       | 1 -
 drivers/dma/sprd-dma.c                         | 1 -
 5 files changed, 5 deletions(-)

Comments

Vinod Koul May 24, 2023, 6:54 a.m. UTC | #1
On 21-05-23, 18:02, Jisheng Zhang wrote:
> I'm patching dw-axi-dmac to add more features, but I found a small
> clean up point and some drivers in drivers/dma/ have the same issue,
> so this series comes.
> 
> The dma framework will calculate the dma channels chancnt, setting it
> is wrong.

Applied, thanks