dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state"
authorVinod Koul <vkoul@kernel.org>
Thu, 28 Mar 2024 06:51:51 +0000 (12:21 +0530)
committerVinod Koul <vkoul@kernel.org>
Thu, 28 Mar 2024 06:58:00 +0000 (12:28 +0530)
This reverts commit 22a9d9585812 ("dmaengine: pl330: issue_pending waits
until WFP state") as it seems to cause regression in pl330 driver.
Note the issue now exists in mainline so a fix to be done.

Cc: stable@vger.kernel.org
Reported-by: karthikeyan <karthikeyan@linumiz.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c

index 5f6d7f1e095f906ec22b4a4b6f67cc7309242994..ad8e3da1b2cd229ff9bdf222439c1db6d1e229ad 100644 (file)
@@ -1053,9 +1053,6 @@ static bool _trigger(struct pl330_thread *thrd)
 
        thrd->req_running = idx;
 
-       if (desc->rqtype == DMA_MEM_TO_DEV || desc->rqtype == DMA_DEV_TO_MEM)
-               UNTIL(thrd, PL330_STATE_WFP);
-
        return true;
 }