From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5014DC433FE for ; Sun, 2 Oct 2022 23:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sgYCUs7AvxnlKsIy5mhdAiWL6PFwCCSB47Fhphzp4k4=; b=LBmfGjQusC1i6u tfeoC82a7jUE9Zq6c1QJ44ZzqLcVMPDCK3hzziriI9j77WkZgP7KoJtUNG2dwNsnYhSse1csjohRq RkFi7FEPDU5Clt8Raa5TYc5S9J7N5oy1UtEDW41PbxQ5k57R/GgD2LoSH/udSnRlt2vqHY9P4xYDp jIE11InebZsJN3PC1uN+OgkHpw8B37knf0T17O71cxsPpEpxMf0o1cZW2G3BLYYzyrxFZV2/2TYGJ u+cVM+vR4Y8DoevgaEqnyLFgRijwtE6xEXt47x+CJKx7xreTAgtxj6HQyfgkkW3Dgst1ORJDUiY6s vP4PF9DgYyvUu9+UbZMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1of7vg-002tIe-Is; Sun, 02 Oct 2022 22:59:24 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1of7pD-002ofi-7r for linux-arm-kernel@lists.infradead.org; Sun, 02 Oct 2022 22:52:44 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C271B60F15; Sun, 2 Oct 2022 22:52:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1009BC433B5; Sun, 2 Oct 2022 22:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664751162; bh=C51fN9Flo2zCAj2jCaWdZGHnkUxwUijWwOrzoNiedtg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A63Y0rH9q1ie0C5lhOZHucn8YnsVeCYshEI3KuCz3MoMmBGT7XhJXKqP3eI4HNdzO tqaWvLgcY+ftlWl58vIFVAJXts772tEEMGazYu1dF6JbG+sgb2DsDLsl0dvl7EjGFu a6Rj9ynuUtIlhG93LbYDKRbBJnwkSOAnzzGv0l+6VMOpOoXDGWE4M42BPMdOq8iVcS t3tKN/Lkfp1u3yArGvsr4cN5vlGfgHprqdnNSSxZnkgC5bbM+lqCmhZG4WFqHb9U/o rC9Uy+B3v6B8v1GPsPznRHajZwekrBvfMmKuuXaQxWKPBTRcjsy0P9n8EsivX6m93t bOwPmj5zb2pvg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Swati Agarwal , Vinod Koul , Sasha Levin , michal.simek@xilinx.com, radhey.shyam.pandey@xilinx.com, lars@metafoo.de, adrianml@alumnos.upm.es, shravya.kumbham@xilinx.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 5.4 2/9] dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property Date: Sun, 2 Oct 2022 18:52:29 -0400 Message-Id: <20221002225236.239675-2-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221002225236.239675-1-sashal@kernel.org> References: <20221002225236.239675-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221002_155243_409877_AE5A615C X-CRM114-Status: GOOD ( 12.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Swati Agarwal [ Upstream commit 462bce790e6a7e68620a4ce260cc38f7ed0255d5 ] Free the allocated resources for missing xlnx,num-fstores property. Signed-off-by: Swati Agarwal Link: https://lore.kernel.org/r/20220817061125.4720-3-swati.agarwal@xilinx.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/xilinx/xilinx_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 7729b8d22553..792776c86ee8 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c @@ -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", -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel