Patch "dmaengine: zynqmp_dma: Fix race condition in the probe" has been added to the 4.15-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
dmaengine: zynqmp_dma: Fix race condition in the probe
to the 4.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
dmaengine-zynqmp_dma-fix-race-condition-in-the-probe.patch
and it can be found in the queue-4.15 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Thu Mar 22 14:03:39 CET 2018
From: Kedareswara rao Appana <[email protected]>
Date: Thu, 7 Dec 2017 10:54:28 +0530
Subject: dmaengine: zynqmp_dma: Fix race condition in the probe
From: Kedareswara rao Appana <[email protected]>
[ Upstream commit 5ba080aada5e739165e0f38d5cc3b04c82b323c8 ]
Incase of interrupt property is not present,
Driver is trying to free an invalid irq,
This patch fixes it by adding a check before freeing the irq.
--- drivers/dma/xilinx/zynqmp_dma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/dma/xilinx/zynqmp_dma.c +2 -1
@@ -838,7 +838,8 @@ static void zynqmp_dma_chan_remove(strucif (!chan)return ; -devm_free_irq (chan->zdev->dev, chan->irq, chan); +if (chan->irq) +devm_free_irq (chan->zdev->dev, chan->irq, chan);tasklet_kill (&chan->tasklet);list_del (&chan->common.device_node);clk_disable_unprepare (chan->clk_apb);
Patches currently in stable-queue which might be from [email protected] are
queue-4.15/dmaengine-zynqmp_dma-fix-race-condition-in-the-probe.patch