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 998ECC433FE for ; Sun, 2 Oct 2022 23:03:22 +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=/3nzpGCLzQaKom/R/3IC3CMb9Z/d2evqCZTHvPjhcQM=; b=afybFH6Pc0I7S3 flTVE+GnV/3Z8S/vYs7SV9i96jSE8UHaCy1G32qhFqKa5szRHe8Tyf3yqH4d1poYQK74aLo9Y6SuG fyFqKUGNseAQ2lurrC/0iFKx+GmAaowORsdY8sbP9cjdablOxMBkYp3nw4WqL1ZI4lQvpjVU+gW6h JJ9LOLYu5C4/guEnJ2rgH0Pkd0TkBQcW21YZTWa/YCyXrjgMqAtudO6y/bJmayqxqh9Cu4rXTgOLo vEHyZfGZzTCR6oLjUJ0WwiQQdLEp0q8MYy2aW++hElbEDn1/kQVUWZ9fpTsz92OS92mBSPlbg1R7A mddcfoS0mHb0vf2/Ui7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1of7yL-002uwJ-KS; Sun, 02 Oct 2022 23:02:10 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1of7pc-002p1j-9a for linux-arm-kernel@lists.infradead.org; Sun, 02 Oct 2022 22:53:09 +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 C6C6460F23; Sun, 2 Oct 2022 22:53:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 146F6C43140; Sun, 2 Oct 2022 22:53:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664751187; bh=u5TzAJ+V988KQo6k184h+K2UMiphbxZiON4R8VGPRfA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hhgOawzIs6P6zktwdqsOZlQdpKkOKkctdMguPXo4Wc3zsS2j6Oc4IkVO7xnztnJS2 NPo4fcjvdpPX1Wt0/Fa8zEpXIyc5j6TLcrz18MLiGQh4dvbDqFG64F89NWUjDnH6wz 93xDVIIcAy+Rzrm2zSRyrXELoW36/o4ItpULOXhQVPiPFOAkT0kIo/vaGK7NKYd8sD GbCayTXqiZlUIPXH5MqO9Up1N+Ta01KZEVejnJ16oBDx+wUS+qC6tN49BMJmy/JmZv TOrxv6JVlpNIA/oJ/CoVB7QAVKLLEN0bOM0Ti7n3ll26bTRirxKM/n0pY1hbv3Wd/J hE/HrG0rgHBuQ== 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 4.19 2/8] dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property Date: Sun, 2 Oct 2022 18:52:54 -0400 Message-Id: <20221002225300.239982-2-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221002225300.239982-1-sashal@kernel.org> References: <20221002225300.239982-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_155308_410212_C91895D6 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 3f38df6b51f2..f72803587b8f 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c @@ -2654,7 +2654,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