Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp779200imw; Wed, 13 Jul 2022 07:53:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vtIBkI8aYIv1Y8cTcZxGsLC5pe4103eS8Cgb9999Svks/GeRXHgJwarA8qFTOIpBDnkwlL X-Received: by 2002:a05:6402:524d:b0:43a:72fe:76b7 with SMTP id t13-20020a056402524d00b0043a72fe76b7mr5571587edd.398.1657724024974; Wed, 13 Jul 2022 07:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657724024; cv=none; d=google.com; s=arc-20160816; b=uAIHrtHRR9UTAge952IdDJLl8ha3xmxQFlfugHaPs88zlghWULbWQdMU5EHuYx+nTM vO5YiU2l48Fc/6B0i8Yp2bl6rpaQuzV1NQHAqdZ3wtqau9DajlUz25Tu7nNibcearrgq aI9055PMy5NGXZ/CvzhqCG8XUrVp+odOKLOQv72vipEr7fLJLBtVyrZe7qR8otm9eLjk W2DF1CCHFvZ9xGD7nZyMmU6onkG9BwZ1cvoHHKV2Rw2KKewEEYfAKrf3qF7X/eY4zzFM l9yu00vYmAYnC4pFSdUvf6821Rfr6n4vgHHkNv5HAWoQGOI16bz5w4XB10GMIF2nKfho SShg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IMCa17u/KRBIFaG4KsLRIkbEcc9LdlhpCTT849G+Kvc=; b=XO7bDn1tizsof94BaV6tYkTxUUsLUqPTJvqTg9kE/fIilzzaXGI2Yg4ku2tO7CU2NF nAU0nfjYR3dNS8OS04KAHt4G3WK7xDgT50wRPOFVUo+1WGiafyLUuROBN0ruEBnYpfvp mhFsXDUTFAiRbWX92XbKzcqj5j1FYN8x6QQdLoK+2dSHrcnchx7B/BAR/Fs3X9cSzgRs VgsaYVqlnYCWdeulN01K1C6D0b+uKw9y+IwVzaaMFVpl5toPbRVODdjJOLFDEc61jMt9 DmhCiGAuxnwfvJtcLcd+7sb154XZAva92LIiaADY1VHdhiCXl6VESH/Vsqm5fP6i3Lox OiGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CfJVmFzt; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a056402255300b00437afe78154si20714760edb.232.2022.07.13.07.53.20; Wed, 13 Jul 2022 07:53:44 -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=@redhat.com header.s=mimecast20190719 header.b=CfJVmFzt; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236410AbiGMN4M (ORCPT + 99 others); Wed, 13 Jul 2022 09:56:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236262AbiGMN4K (ORCPT ); Wed, 13 Jul 2022 09:56:10 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1ED762CE0F for ; Wed, 13 Jul 2022 06:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657720569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IMCa17u/KRBIFaG4KsLRIkbEcc9LdlhpCTT849G+Kvc=; b=CfJVmFztqef2VRdYfHWM9biwwf4jEwJyIojk2Ga9NztLusPj2qaoO4ci7atv8hT38OwOEF JRtQ9KdTsJnt9Mi/EirjHCgp/vmXECRmp/jZkhecqpeqkQLGozhducU4RjbUsIWWX4HXs4 ukuiLU9L0yunGizD6h13xk6vlWHRvkI= Received: from mail-oa1-f70.google.com (mail-oa1-f70.google.com [209.85.160.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-341-TCeWATmfNWuUnuzNlGEN7Q-1; Wed, 13 Jul 2022 09:56:07 -0400 X-MC-Unique: TCeWATmfNWuUnuzNlGEN7Q-1 Received: by mail-oa1-f70.google.com with SMTP id 586e51a60fabf-10bfafe5bd0so5898853fac.18 for ; Wed, 13 Jul 2022 06:56:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=IMCa17u/KRBIFaG4KsLRIkbEcc9LdlhpCTT849G+Kvc=; b=K13a1NLhAMKsTfdxlXHPuIK7q+mTtpiXyiW8AuuGQWnvVJEW1pCltwcsRMzAjxeNBI DJP+0HsoUZPAQUKiRj7R4IRlKQP6GItTsGCmTC4YiPqjLQdy7OZ0O9eB4IhFrOHbFsxu plQGMuWKYTFxu4j3zx9FHh6jWJprLneTabTBWtxxrEuLuLtk5PF25m5RL0iyo62cv9L+ Ibcs7lCaZvtU++IIzfmTfYwUZ2TzWmu2yiYMbIg2QSjpLH6UiyP7x2VjCywo05mP/5VR pBpk7DlEIEXaLo+E0Z0S8cru2Tjodga7KmPLqagzRiP8pW4B4cLJSFwWzJf2f+nQ1Y0N JfpQ== X-Gm-Message-State: AJIora/DY1Fucv5X4u+A3IzYZpLq9dOpJZ1LuOP+fz5Vj2fp1R70qRxY SADU4zt90I23ueg0ANgJ51IZIFFKIWX6xJGlWdYhSazF8OfLl2qR5rKlJqdgDlKfwufrywoETSv ySAC2krOJfgsk1tVPYIDQcLQd X-Received: by 2002:a05:6808:209a:b0:33a:537:6d30 with SMTP id s26-20020a056808209a00b0033a05376d30mr4804572oiw.294.1657720566283; Wed, 13 Jul 2022 06:56:06 -0700 (PDT) X-Received: by 2002:a05:6808:209a:b0:33a:537:6d30 with SMTP id s26-20020a056808209a00b0033a05376d30mr4804558oiw.294.1657720566055; Wed, 13 Jul 2022 06:56:06 -0700 (PDT) Received: from halaneylaptop ([2600:1700:1ff0:d0e0::2e]) by smtp.gmail.com with ESMTPSA id f10-20020a4ace8a000000b0035ef3da8387sm4791255oos.4.2022.07.13.06.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 06:56:05 -0700 (PDT) Date: Wed, 13 Jul 2022 08:56:03 -0500 From: Andrew Halaney To: Srinivasa Rao Mandadapu Cc: vkoul@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org Subject: Re: [PATCH] soundwire: qcom: Update error prints to debug prints Message-ID: <20220713135603.4vkyofw6x4mldxzp@halaneylaptop> References: <1657714921-28072-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1657714921-28072-1-git-send-email-quic_srivasam@quicinc.com> X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 A couple of drive by nits: On Wed, Jul 13, 2022 at 05:52:01PM +0530, Srinivasa Rao Mandadapu wrote: > Upadte error prints to debug prints to avoid redundant logging in kernel > boot time, as these prints are informative prints in irq handler. s/Upadte/Update/ > > 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__); There's no need for __func__ usage with dev_dbg() when giving +f flag when enabling adds this for you! With those changes feel free to add: Reviewed-by: Andrew Halaney Thanks, Andrew > 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 >