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: 127338 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp217180vqg; Thu, 27 Jul 2023 22:51:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlEZbEu4hL+uPMKb+2eF+is8FqCKapksvZd/UWBICLCN0x68cTPd1+Oy1mGWJ189zXj1zZk5 X-Received: by 2002:a05:620a:1905:b0:767:f2c2:7e64 with SMTP id bj5-20020a05620a190500b00767f2c27e64mr1896391qkb.63.1690523478206; Thu, 27 Jul 2023 22:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690523478; cv=none; d=google.com; s=arc-20160816; b=lJcxvMpqZ3V4IswcTx7oqjbv7fJT40e47HujYN3qNfZLnRdALecOpNDcTcPFG8/lAC Hef3cCoQYC+C1GkLa6YWEyjqPmceFFTizybq/PlVhseiNM+kNCs0MSFy6O5og+4Y/iC3 gPnjbgC3h+rM2vgmRY3xqigLfoxcWk2mZPz1o00bgwZUq9CaxALSBLwstrkrXHf7H1e3 ICd1sCoTnNk8WPQqz42mftY7cCxxtMLFPbBQo3maZWryNaPfYn9xLVB/oyGbxo7CkME9 u543Nka2+vgpSuXVo1Gcpo3v+3inL4ZYA4fr1H9CkVRdCqFApf+vb6MI5F59WI5YvKhI TBZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=UAY2pJ5KCobDzUjFKGI6/zs8XgzCPoAo1W3p2DYg3mI=; fh=zO+pfkn5gNlPjRANyzScp80dfKcdslvsH723ghQDtZQ=; b=WmGGjMfgvo9lYPB17l/Ex4COJvpcGRCuAOIfb1PDgro2VDAdsk9THLUQ5FuX4fnu5Q AQ8PWw6Mgc+CLqjt4IMhJWIPBKwUhc0rbIMIRCzrJJnbeZNe5a4mtvU0q1Qn/UbVHMFz NJICbhP8bx/X7JVPu8wZ1yA0cBTdpKCki7YhxTpl5DHpKKkqI68ngUjIsUhs7uyfhVPJ AmpLuGzVgdSR49WGeAtKlxhD+UuJY3BzBX1WhC07HFhkE/r6WfY5Mt/l1apzjKs6yYhO n/FSafupAG1pE/6TI8P1+9FNzcuveXX4BZJ//+mA7NrYd2HDsq40YI1KHNMt+GR0N7S0 4Xvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a25czI6p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a63de0a000000b00563dde13953si2495363pgg.739.2023.07.27.22.51.05; Thu, 27 Jul 2023 22:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a25czI6p; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233310AbjG1FeJ (ORCPT + 99 others); Fri, 28 Jul 2023 01:34:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229946AbjG1FeH (ORCPT ); Fri, 28 Jul 2023 01:34:07 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8950B35AD for ; Thu, 27 Jul 2023 22:34:05 -0700 (PDT) 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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772642346497232568 X-GMAIL-MSGID: 1772642346497232568 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)