[SRU] [jammy:linux-xilinx-zynqmp 1/1] Revert "dmaengine: xilinx: dpdma: Fix race condition in vsync IRQ"

Portia Stephens portia.stephens at canonical.com
Tue Jul 16 18:12:32 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2072456

This reverts commit f14978f798209effb38753f1eb4b1a59044da047.

This commit was submitted upstream but not accepted, the commits
upstream state was incorrect.

This issue was fixed upstream with commit 3a6feb4f69d9
"dma: xilinx_dpdma: Fix locking" . This commit is no longer correct or
needed.

Signed-off-by: Portia Stephens <portia.stephens at canonical.com>
---
 drivers/dma/xilinx/xilinx_dpdma.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/dma/xilinx/xilinx_dpdma.c b/drivers/dma/xilinx/xilinx_dpdma.c
index 6b403946741c..90e72d8ef7d2 100644
--- a/drivers/dma/xilinx/xilinx_dpdma.c
+++ b/drivers/dma/xilinx/xilinx_dpdma.c
@@ -1181,7 +1181,6 @@ static void xilinx_dpdma_chan_vsync_irq(struct  xilinx_dpdma_chan *chan)
 	chan->desc.active = pending;
 	chan->desc.pending = NULL;
 
-	spin_lock(&chan->vchan.lock);
 	xilinx_dpdma_chan_queue_transfer(chan);
 	spin_unlock(&chan->vchan.lock);
 
-- 
2.34.1




More information about the kernel-team mailing list