From: Vinod Koul Date: Thu, 28 Mar 2024 06:51:51 +0000 (+0530) Subject: dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state" X-Git-Tag: v5.10.217~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00d09857f8073b42458cd82355958bcfb3fb374f;p=thirdparty%2Fkernel%2Fstable.git dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state" [ Upstream commit afc89870ea677bd5a44516eb981f7a259b74280c ] 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 Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index c71b5c8255217..627aa9e9bc12a 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -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; }