Skip to content
Commit 9b448226 authored by Swati Agarwal's avatar Swati Agarwal Committed by Greg Kroah-Hartman
Browse files

dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling

[ Upstream commit 91df7751

 ]

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: default avatarSwati Agarwal <swati.agarwal@xilinx.com>
Link: https://lore.kernel.org/r/20220817061125.4720-2-swati.agarwal@xilinx.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: 596b53cc

 ("dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fe39e74a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment