]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dmaengine: dw-edma: Add HDMA remote interrupt configuration
authorKory Maincent <kory.maincent@bootlin.com>
Mon, 29 Jan 2024 16:26:00 +0000 (17:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2024 14:48:43 +0000 (14:48 +0000)
commit55501b7359ef788d9bfcaf725b1d59434bb1dc70
tree3ea401ced809a9ce2d15aab9c14f4d7d965fc560
parent3fa3dfcabf3aa012692d87c8d61635ac9ce24cca
dmaengine: dw-edma: Add HDMA remote interrupt configuration

[ Upstream commit e2f6a5789051ee9c632f27a12d0f01f0cbf78aac ]

Only the local interruption was configured, remote interrupt was left
behind. This patch fix it by setting stop and abort remote interrupts when
the DW_EDMA_CHIP_LOCAL flag is not set.

Fixes: e74c39573d35 ("dmaengine: dw-edma: Add support for native HDMA")
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240129-b4-feature_hdma_mainline-v7-4-8e8c1acb7a46@bootlin.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/dw-edma/dw-hdma-v0-core.c