Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp783218imw; Wed, 13 Jul 2022 07:58:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u1G792u+HumLzi6duhUGnfHbbIqJ+rEZ1kZtGfY6UxK9F36F4XB+c+gGVetXo17Ri4/L5j X-Received: by 2002:a17:907:a075:b0:72b:33e7:d63a with SMTP id ia21-20020a170907a07500b0072b33e7d63amr3787954ejc.533.1657724335868; Wed, 13 Jul 2022 07:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657724335; cv=none; d=google.com; s=arc-20160816; b=tFEq1kemxTC9/5FSLFiYycXN+vvv+2RyiB5GhZmyeSzdOFpXV7lzatk4gCcXc+T/9h r77OHEyPmWl9sddhVWAkALP7f7aIK2FVWm9RObPu4W4A0KCw3cvnTu2iXmSQ1mC1kfip 0bO+6Cp3rN/mGU5um71Q4d0oSrKADAmCQvjvN8bsKGiteIQqE+y9JhjsWbtZz1ojJr+G EJ3MsYltz9x2IaV7MQffaoBYsWfuBr+224R5FVYTo2iCo/OkWX5PWJfxrsOpuwe0PcxL GTAQf35gpSvD1LQ6K7NLUnM4TyePFGsGo+OlMsy6R0wvdX+ZWQbC+u++L6+e9/yT+mT1 BYcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=oo2Tg2dP3TBQ1rxacXFBYQoxBxf0O9buVeEXcXigr34=; b=vZlj8ZPDJ/1ETzjVWeOtGWRvaH/0TEomH7Uce3lDLfN4NM+L5NGgShgbecrH8g7B5/ HJxO9sPeYYFFgTI5MZuzsjYplghGJLEhSRXNcis9NaoRc06VviJYu2Yt46hF+aP5BPiw vs1LJKk8rQYXz8H1XEn6CAtuwtlnWoXYWEycWK2MJlbEegcU03tIvgfu02FobrgWj4XL eWsl9CAjsBZpAUoyec9ujI3lTAfgpQWZV6070UcPpd9NF/ddUx3wx/Gjwsuq6fFd856B Gmvr71pNRszDjoHVv/VXGDJ5sXAiHZSF1Hx174HQSGlmH3xprar/ban6I28PEn6u5cv5 6doA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=eDGD4eBu; 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=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a170906770800b0072ab55408b4si6073382ejm.363.2022.07.13.07.58.31; Wed, 13 Jul 2022 07:58:55 -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=@quicinc.com header.s=qcdkim header.b=eDGD4eBu; 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=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236489AbiGMOyv (ORCPT + 99 others); Wed, 13 Jul 2022 10:54:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbiGMOyu (ORCPT ); Wed, 13 Jul 2022 10:54:50 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB3B2C135; Wed, 13 Jul 2022 07:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1657724089; x=1689260089; h=from:to:cc:subject:date:message-id:mime-version; bh=oo2Tg2dP3TBQ1rxacXFBYQoxBxf0O9buVeEXcXigr34=; b=eDGD4eBuAOKmC2OUtskNwMskTPz9xgE7MpuaDejieUj/YL9YqOECz2E7 pr9VAB+qf6nAU10USgghzG01kfKweI9XVH1AW1MVHi3Kv0KxfreCXGYBf CuWQX+tBEQUxJwa/YTlmBYFcf6jNXbdP1Jut1BQlT9yaKNcxPVw19fGW7 U=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 13 Jul 2022 07:54:49 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 07:54:48 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 13 Jul 2022 07:54:47 -0700 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 13 Jul 2022 07:54:41 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v2] soundwire: qcom: Update error prints to debug prints Date: Wed, 13 Jul 2022 20:24:27 +0530 Message-ID: <1657724067-19004-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Update error prints to debug prints to avoid redundant logging in kernel boot time, as these prints are informative prints in irq handler. Signed-off-by: Srinivasa Rao Mandadapu Reviewed-by: Andrew Halaney --- Changes since v1: -- Remove redundant __func__ argument. -- Replace dev_dbg with dev_dbg_ratelimited. drivers/soundwire/qcom.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c index 9df970e..976ae75 100644 --- a/drivers/soundwire/qcom.c +++ b/drivers/soundwire/qcom.c @@ -573,11 +573,10 @@ static irqreturn_t qcom_swrm_irq_handler(int irq, void *dev_id) break; case SWRM_INTERRUPT_STATUS_NEW_SLAVE_ATTACHED: case SWRM_INTERRUPT_STATUS_CHANGE_ENUM_SLAVE_STATUS: - dev_err_ratelimited(swrm->dev, "%s: SWR new slave attached\n", - __func__); + dev_dbg_ratelimited(swrm->dev, "SWR new slave attached\n"); swrm->reg_read(swrm, SWRM_MCP_SLV_STATUS, &slave_status); if (swrm->slave_status == slave_status) { - dev_err(swrm->dev, "Slave status not changed %x\n", + dev_dbg(swrm->dev, "Slave status not changed %x\n", slave_status); } else { qcom_swrm_get_device_status(swrm); -- 2.7.4