]> git.dujemihanovic.xyz Git - u-boot.git/commit
dma: ti: k3-udma: Fix ring_idx to pair k3 nav rings
authorUdit Kumar <u-kumar1@ti.com>
Wed, 21 Feb 2024 14:23:44 +0000 (19:53 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 4 Mar 2024 18:41:04 +0000 (13:41 -0500)
commit7022640c10f027e6e2cff00012b3740a78f8b9bc
tree040314475691db58e413f19b682c748d46bf2276
parent87720385ab69396d045b9d9cf045896593f1774c
dma: ti: k3-udma: Fix ring_idx to pair k3 nav rings

ring_idx was not correctly assigned in case of tflow_id is zero.
Which leads to wrong pairing of DMA for drivers like OSPI.

Fixes: 4312a1dfca26 ("dma: ti: k3-udma: Use ring_idx to pair k3 nav rings")
Reviewed-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
drivers/dma/ti/k3-udma.c