]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 09:43:46 +0000 (11:43 +0200)
[ 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 <karthikeyan@linumiz.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/pl330.c

index d12939c25a618d33d5864fe9020d6e3c2b1c94d4..1d7d4b8d810a5bc9cf14ce1264d09c403a11cf70 100644 (file)
@@ -1051,9 +1051,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;
 }