]> www.infradead.org Git - linux.git/commit
dmaengine: ti: k3-udma: Fix BCHAN count with UHC and HC channels
authorVignesh Raghavendra <vigneshr@ti.com>
Fri, 7 Jun 2024 18:11:03 +0000 (23:41 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 28 Jun 2024 07:29:30 +0000 (12:59 +0530)
commit372f8b3621294173f539b32976e41e6e12f5decf
tree117a8f389d8432171f3dad2be349acde8cf58ea1
parent0e53aa3464e9a0a82bd3b926ba5999a11569c9ba
dmaengine: ti: k3-udma: Fix BCHAN count with UHC and HC channels

Unlike other channel counts in CAPx registers, BCDMA BCHAN CNT doesn't
include UHC and HC BC channels. So include them explicitly to arrive at
total BC channel in the instance.

Fixes: 8844898028d4 ("dmaengine: ti: k3-udma: Add support for BCDMA channel TPL handling")
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Tested-by: Jayesh Choudhary <j-choudhary@ti.com>
Link: https://lore.kernel.org/r/20240607-bcdma_chan_cnt-v2-1-bf1a55529d91@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-udma.c