]> git.itanic.dy.fi Git - linux-stable/commit
dmaengine: dw-edma: Fix to change for continuous transfer
authorShunsuke Mie <mie@igel.co.jp>
Tue, 11 Apr 2023 10:17:57 +0000 (19:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:54 +0000 (11:35 +0200)
commit24c9c4ad23d30b5e0e3593492ba494b1854df19e
tree43b17af1e943908a82932984fb2a5157802f3468
parent2e900f3631741fbc015a2bccf08390db223514b3
dmaengine: dw-edma: Fix to change for continuous transfer

[ Upstream commit a251994a441ee0a69ba7062c8cd2d08ead3db379 ]

The dw-edma driver stops after processing a DMA request even if a request
remains in the issued queue, which is not the expected behavior. The DMA
engine API requires continuous processing.

Add a trigger to start after one processing finished if there are requests
remain.

Fixes: e63d79d1ffcd ("dmaengine: Add Synopsys eDMA IP core driver")
Signed-off-by: Shunsuke Mie <mie@igel.co.jp>
Link: https://lore.kernel.org/r/20230411101758.438472-1-mie@igel.co.jp
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/dw-edma/dw-edma-core.c