Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp862994imw; Wed, 13 Jul 2022 09:17:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sHOgUZR7+zPSBy0Jj218RwezcwcEJN3AAoLinUKfnx6HQRBb6A5xTVrRH64WNzl7g4C15O X-Received: by 2002:a05:6402:11c9:b0:43a:b054:52ba with SMTP id j9-20020a05640211c900b0043ab05452bamr6150165edw.344.1657729023124; Wed, 13 Jul 2022 09:17:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657729023; cv=none; d=google.com; s=arc-20160816; b=Y6fwAXXfqRueqfHAZrG7bcYhmAo+mWkI0b88+MQ8my6hb4MU4W2r252SL4Iy4Yh6T5 +tyYtF3G7rtBe6zvgvZ4pEgayNI6E1KJ3iu9yVyQxtSOQLzLRpW4/fqCLyyaRcKG4Grf ukOiEHfGAOcek5JcBBl/C+TYUZXHvKvE4f8GAF3fAjlPynS69SuR2xMJUtvhZ+qbyxYN 5Wd862qY7rvuNt08VIM44V/Le0Y5p+0rVtI/t0oD7G6y3UtexTWRGXo6QRbLov63UE95 tnntI35qQjaKnmpRfeEnGAS+akYH07MuEXeLMIqj2BVoxnxxxcsiSsAoJ079KXM6DGZ5 JdTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=CNNiJMucRthl7fECf9E6Pn8zMqMHyA+cokmpGr/PmFI=; b=isim+r7vF8dVKJkHFrhYwAqcNm5siECiTtVIZ3qnTtB+/SJHT3AHxN+SDy2Szki6fm KUS2tRnp23iF+HQOKxxZoNMMs4GbHrc4FXDgfSWDaMZlzZIPknBfZpyOoHa9vz0f6OoL BLL6SO28EgNjChAXtOCvOh0vLYLqrpOvQMnf2I5BBbFxmnT7N7qJYcVjHnOweMe2ZyIF GAdJ4gNVQSFGeL7zb4IuOJBH39lk8r307I/67CZ0lLFTh+lUQNx+w4x8e3qvdhJ6csF3 Mb9HGC83mc50097nEGWJ1AiUpy0ptALQ+jCOyknUNMGZ5qh+0wedf7Mp2b6x1iw/qotW pNJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=WnYtnqOV; 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 di9-20020a170906730900b0072b53b3f4c5si10204294ejc.217.2022.07.13.09.16.37; Wed, 13 Jul 2022 09:17:03 -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=WnYtnqOV; 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 S230215AbiGMOxC (ORCPT + 99 others); Wed, 13 Jul 2022 10:53:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbiGMOw7 (ORCPT ); Wed, 13 Jul 2022 10:52:59 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF2543C14D; Wed, 13 Jul 2022 07:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1657723978; x=1689259978; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=CNNiJMucRthl7fECf9E6Pn8zMqMHyA+cokmpGr/PmFI=; b=WnYtnqOVBbsATaC/Q6BWCrxGRDRsF3c1dJuo/XQi9uW+CIFsHwhIxQMs 6f7npLNQDw+lsGxcmaDfpeDXfT4ZTF30dWDGQgOCUt7S6k6nPwXMqWk9n YwO1LhIGeTxCsRdvy3Gi192QqYJ/IXZqUSmywRrnjLSN2dyYYabzCnwul 8=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 13 Jul 2022 07:52:58 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 07:52:58 -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:52:57 -0700 Received: from [10.216.22.132] (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:52:52 -0700 Message-ID: <8cde58d2-3b10-b88b-2d10-88e76fbcac06@quicinc.com> Date: Wed, 13 Jul 2022 20:22:48 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] soundwire: qcom: Update error prints to debug prints Content-Language: en-US To: Pierre-Louis Bossart , , , , , , , , , , , , , , , , , , References: <1657714921-28072-1-git-send-email-quic_srivasam@quicinc.com> <75e9b775-3bbe-0b34-2bd6-b4ac74620672@linux.intel.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: <75e9b775-3bbe-0b34-2bd6-b4ac74620672@linux.intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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,NICE_REPLY_A,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 On 7/13/2022 7:53 PM, Pierre-Louis Bossart wrote: Thanks for your time Pierre-Louis!!! > > On 7/13/22 07:22, Srinivasa Rao Mandadapu wrote: >> Upadte error prints to debug prints to avoid redundant logging in kernel > update Okay. Will change it. > >> boot time, as these prints are informative prints in irq handler. >> >> Signed-off-by: Srinivasa Rao Mandadapu >> --- >> 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..a4293d0 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(swrm->dev, "%s: SWR new slave attached\n", __func__); > any reason why the rate limitation was dropped? No Specific Reason as such. Will add ratelimited and re-spin it. > >> 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);