From patchwork Fri Jul 28 05:33:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13331219 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 B6DFEC001DE for ; Fri, 28 Jul 2023 05:34:38 +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: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:In-Reply-To:References: List-Owner; bh=jQiU7Q9mEXZgTFCQSEYH5OcDShJsR8vnisCSFahgrrk=; b=4KEZ7t/1DiwB6E KjU6p01sxPlpihDx1yXlRjX0D5uoaP3kIOSNIV/rXWdVF/PxWRmXXQeSFxBwZcS5CVxepRDDWyJbv 1008++eMs88ed+mdzzyYW+dUG+j/+frDaBDjaW5wfd1I6CgG0+TKu94Or4hE0TXsBEW/u6eWTjXBN pUDbvF+LQNScitn1TZpkpVVNDLxyGS5F/mTMqpqrchRaaCT4O2wpkx3wqqnSuq9zPrO2EjSTPzy+J IQa9USklmNiMJY0+v4rYRnjw+6xHEgN1UBvdO4A+iBWICbI/uVWxXQquW0GxttHFOjqJFDkylSC1w YzYAAQSinHsKQ9JPajZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPG74-001jsQ-2U; Fri, 28 Jul 2023 05:34:06 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPG71-001jrr-1t for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2023 05:34:05 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36S5Xvtp057389; Fri, 28 Jul 2023 00:33:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690522437; bh=UAY2pJ5KCobDzUjFKGI6/zs8XgzCPoAo1W3p2DYg3mI=; h=From:To:CC:Subject:Date; b=a25czI6ptSIxO9CBoutLH7sjehkGsQ3gTYTOEIEmnL42nMQLqjJeTQM7BjdN81ddS LjGAGFpMQBaQZpkNExUCiTK24/wmEOL5YM6X4jGF/cXkQ2gWlDIstXGr4mFGT1kt5P 6TEoBk/veyDXLxAKuCuxIR8iuya9ACA8kTwsh5Uk= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36S5XvKp005299 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Jul 2023 00:33:57 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 28 Jul 2023 00:33:57 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 28 Jul 2023 00:33:57 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36S5XuER017376; Fri, 28 Jul 2023 00:33:56 -0500 From: Jayesh Choudhary To: , CC: , , Subject: [PATCH v3] soc: ti: k3-ringacc: remove non-fatal probe deferral log Date: Fri, 28 Jul 2023 11:03:56 +0530 Message-ID: <20230728053356.31044-1-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230727_223403_667780_8CBAA52F X-CRM114-Status: GOOD ( 12.01 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop the non-fatal probe deferral log for getting MSI domain. This makes the kernel log clean and we do not get recurring logs stating: "Failed to get MSI domain". Signed-off-by: Jayesh Choudhary --- v2 patch: Changelog v2->v3: - Remove unnecessary braces for the if condition Changelog v1->v2: - Removed the print instead of dropping the loglevel according to the comment on similar patch for udma: drivers/soc/ti/k3-ringacc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c index c6fdf0ad3d33..4c1353616b72 100644 --- a/drivers/soc/ti/k3-ringacc.c +++ b/drivers/soc/ti/k3-ringacc.c @@ -1373,10 +1373,8 @@ static int k3_ringacc_init(struct platform_device *pdev, dev->msi.domain = of_msi_get_domain(dev, dev->of_node, DOMAIN_BUS_TI_SCI_INTA_MSI); - if (!dev->msi.domain) { - dev_err(dev, "Failed to get MSI domain\n"); + if (!dev->msi.domain) return -EPROBE_DEFER; - } ret = k3_ringacc_probe_dt(ringacc); if (ret)