linux/drivers/dma/xilinx
Yu Kuai 8982d48af3 dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20210517081826.1564698-4-yukuai3@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-05-31 09:33:09 +05:30
..
Makefile dmaengine: xilinx: dpdma: Add the Xilinx DisplayPort DMA engine driver 2020-07-17 11:37:59 +05:30
xilinx_dma.c dmaengine: xilinx: Introduce synchronize() callback 2021-03-16 16:15:32 +05:30
xilinx_dpdma.c dmaengine: xilinx: dpdma: initialize registers before request_irq 2021-05-10 21:40:30 +05:30
zynqmp_dma.c dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc() 2021-05-31 09:33:09 +05:30