From: Peter Ujfalusi <peter.ujfal...@ti.com>

[ Upstream commit 6259c8441c4de3f1727a0db61465a8dc8f340c05 ]

The original commit mixed up the forward and completion ring IDs for the
rx flow configuration.

Acked-by: Vinod Koul <vk...@kernel.org>
Reviewed-by: Grygorii Strashko <grygorii.stras...@ti.com>
Fixes: 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to 
k3_ringacc_request_rings_pair")
Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilim...@oracle.com>
Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 drivers/dma/ti/k3-udma-glue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/ti/k3-udma-glue.c b/drivers/dma/ti/k3-udma-glue.c
index 42c8ad10d75eb..a367584f0d7b3 100644
--- a/drivers/dma/ti/k3-udma-glue.c
+++ b/drivers/dma/ti/k3-udma-glue.c
@@ -573,8 +573,8 @@ static int k3_udma_glue_cfg_rx_flow(struct 
k3_udma_glue_rx_channel *rx_chn,
 
        /* request and cfg rings */
        ret =  k3_ringacc_request_rings_pair(rx_chn->common.ringacc,
-                                            flow_cfg->ring_rxq_id,
                                             flow_cfg->ring_rxfdq0_id,
+                                            flow_cfg->ring_rxq_id,
                                             &flow->ringrxfdq,
                                             &flow->ringrx);
        if (ret) {
-- 
2.25.1



Reply via email to