[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200805112746.15475-1-peter.ujfalusi@ti.com>
Date: Wed, 5 Aug 2020 14:27:46 +0300
From: Peter Ujfalusi <peter.ujfalusi@...com>
To: <ssantosh@...nel.org>, <santosh.shilimkar@...cle.com>
CC: <linux-arm-kernel@...ts.infradead.org>, <grygorii.strashko@...com>,
<linux-kernel@...r.kernel.org>, <vkoul@...nel.org>,
<dmaengine@...r.kernel.org>
Subject: [PATCH] dmaengine: ti: k3-udma-glue: Fix parameters for rx ring pair request
The original commit mixed up the forward and completion ring IDs for the
rx flow configuration.
Fixes: 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to k3_ringacc_request_rings_pair")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
---
Hi Santosh, Vinod,
the offending patch was queued via ti SoC tree.
Santosh, can you pick up this fix also?
Regards,
Peter
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 3a5d33ea5ebe..12da38a92218 100644
--- a/drivers/dma/ti/k3-udma-glue.c
+++ b/drivers/dma/ti/k3-udma-glue.c
@@ -579,8 +579,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) {
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Powered by blists - more mailing lists