Commit 462bce79 authored by Swati Agarwal's avatar Swati Agarwal Committed by Vinod Koul
Browse files

dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property



Free the allocated resources for missing xlnx,num-fstores property.

Signed-off-by: default avatarSwati Agarwal <swati.agarwal@xilinx.com>
Link: https://lore.kernel.org/r/20220817061125.4720-3-swati.agarwal@xilinx.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 91df7751
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",