diff options
author | Swati Agarwal <swati.agarwal@xilinx.com> | 2022-08-17 08:11:24 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-04 19:24:07 +0200 |
commit | 462bce790e6a7e68620a4ce260cc38f7ed0255d5 (patch) | |
tree | f42066ff59a62d4654cff490e46dbb3cd86b1342 /drivers/dma/xilinx/xilinx_dma.c | |
parent | dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling (diff) | |
download | linux-462bce790e6a7e68620a4ce260cc38f7ed0255d5.tar.xz linux-462bce790e6a7e68620a4ce260cc38f7ed0255d5.zip |
dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
Free the allocated resources for missing xlnx,num-fstores property.
Signed-off-by: Swati Agarwal <swati.agarwal@xilinx.com>
Link: https://lore.kernel.org/r/20220817061125.4720-3-swati.agarwal@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/xilinx/xilinx_dma.c')
-rw-r--r-- | drivers/dma/xilinx/xilinx_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 97633f0b8114..5e6e46437aea 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c @@ -3071,7 +3071,7 @@ static int xilinx_dma_probe(struct platform_device *pdev) if (err < 0) { dev_err(xdev->dev, "missing xlnx,num-fstores property\n"); - return err; + goto disable_clks; } err = of_property_read_u32(node, "xlnx,flush-fsync", |