]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
dmaengine: zynqmp_dma: Fix race condition in the probe
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Thu, 7 Dec 2017 05:24:28 +0000 (10:54 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 18 Dec 2017 04:07:06 +0000 (09:37 +0530)
commit5ba080aada5e739165e0f38d5cc3b04c82b323c8
tree0b2a48e911b52b0da4839808bb7b8bc5b08f79fc
parent8d90035e379c1987d72e5eef8c6c9ed3d86a7ca1
dmaengine: zynqmp_dma: Fix race condition in the probe

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.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xilinx/zynqmp_dma.c