lkml.org 
[lkml]   [2020]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.9 600/757] dmaengine: ti: k3-udma-glue: Fix parameters for rx ring pair request
    Date
    From: Peter Ujfalusi <peter.ujfalusi@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 <vkoul@kernel.org>
    Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
    Fixes: 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to k3_ringacc_request_rings_pair")
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
    Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
    Signed-off-by: Sasha Levin <sashal@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


    \
     
     \ /
      Last update: 2020-10-27 17:40    [W:2.039 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site