]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
authorSwati Agarwal <swati.agarwal@xilinx.com>
Wed, 17 Aug 2022 06:11:23 +0000 (11:41 +0530)
committerVinod Koul <vkoul@kernel.org>
Sun, 4 Sep 2022 17:24:07 +0000 (22:54 +0530)
commite15d5a6be714cd6d6eb0fadeb0e684ddae3423d9
treeca21e6edeb87121220b45f3c489b3889f6ff44a6
parent3d7dcb2c5450a57f60c448f42be48fdfe456bfdf
dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling

Add missing cleanup in devm_platform_ioremap_resource().
When probe fails remove dma channel resources and disable clocks in
accordance with the order of resources allocated .

Signed-off-by: Swati Agarwal <swati.agarwal@xilinx.com>
Link: https://lore.kernel.org/r/20220817061125.4720-2-swati.agarwal@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c