Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db702ecd authored by Swati Agarwal's avatar Swati Agarwal Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit 462bce790e6a7e68620a4ce260cc38f7ed0255d5 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 59684c87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2683,7 +2683,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",