Skip to content

Commit

Permalink
dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
Browse files Browse the repository at this point in the history
[ Upstream commit 462bce7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Swati Agarwal authored and gregkh committed Oct 12, 2022
1 parent 92f8963 commit e38f675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/xilinx/xilinx_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -3191,7 +3191,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",
Expand Down

0 comments on commit e38f675

Please sign in to comment.