Skip to content

Commit 462bce7

Browse files
Swati Agarwalvinodkoul
authored andcommitted
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>
1 parent 91df775 commit 462bce7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/dma/xilinx/xilinx_dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,7 @@ static int xilinx_dma_probe(struct platform_device *pdev)
30713071
if (err < 0) {
30723072
dev_err(xdev->dev,
30733073
"missing xlnx,num-fstores property\n");
3074-
return err;
3074+
goto disable_clks;
30753075
}
30763076

30773077
err = of_property_read_u32(node, "xlnx,flush-fsync",

0 commit comments

Comments
 (0)