提交 462bce79 编写于 作者: S Swati Agarwal 提交者: Vinod Koul

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

Free the allocated resources for missing xlnx,num-fstores property.
Signed-off-by: NSwati Agarwal <swati.agarwal@xilinx.com>
Link: https://lore.kernel.org/r/20220817061125.4720-3-swati.agarwal@xilinx.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
上级 91df7751
...@@ -3071,7 +3071,7 @@ static int xilinx_dma_probe(struct platform_device *pdev) ...@@ -3071,7 +3071,7 @@ static int xilinx_dma_probe(struct platform_device *pdev)
if (err < 0) { if (err < 0) {
dev_err(xdev->dev, dev_err(xdev->dev,
"missing xlnx,num-fstores property\n"); "missing xlnx,num-fstores property\n");
return err; goto disable_clks;
} }
err = of_property_read_u32(node, "xlnx,flush-fsync", err = of_property_read_u32(node, "xlnx,flush-fsync",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册