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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 91df775 commit 462bce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)