Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2997902lqp; Mon, 25 Mar 2024 16:13:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXt3WZG8ydpOhDicgwQTef3dxAnzwElPQ/xrBNfBeZecd894yF6nLRhCG2mZCYKyPkCkgPYAR2WlaiR+YQwMfQ2IKA19DNXmSeXo815EA== X-Google-Smtp-Source: AGHT+IHDL/mXc+b3D1raNka/Q9XR6WwymwDrFabSn9uRmfXT1eaE4z1IYxvDBtjjKnDfeIt31tn6 X-Received: by 2002:a25:bc92:0:b0:dc6:d093:8622 with SMTP id e18-20020a25bc92000000b00dc6d0938622mr5843730ybk.15.1711408431015; Mon, 25 Mar 2024 16:13:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711408430; cv=pass; d=google.com; s=arc-20160816; b=nFLo2+saVfp0PkYUoM7DncBBL3qsYRZXWYT61AKJVFlhV1agJWlMfI43lp8ZH+R2Lb nIwDEh5nyZckrw0rSHsUQ1MHLzVkxuj72x+fyB8nzgBOToLYIjOARgP2iL+9ZJbWxpvx BZvia79ikv4G9jPT2eKHtFOpe2SuqQu3H2kN0LHdFvhve5lWsTuI2ywmvhPUTMP//l+B yGcVJNIbya04qz4Vs43u5KA+CIMbwiAt5XlDrF4WZ48adYJ4AjCEK33dUpNJFKe5wKQX C8hjFwHXWeMPjQdoIs0ORVMsq5Fc1qDlwuRKxTplb2UnHlrQPdlLODuN/R1BTyV7J1yA fGMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id; bh=42JpS1tzf5Bayji89rhW1Gah6MQZGLOOiiLewhoK040=; fh=zWcBy3ayDGVQ/lOW+SldsbLzdpLRWTU0bDB4fIhqPZs=; b=gxpbb+6urX+/54vLirIKUvS7d26UxfuBlIAAVUq270rhAp+3+L4Lz0TRo0w5pvewHR zn92Otef2l34LKie8sfPoObs7BMUom6myR51wxQ7jj1TQs4X9ooQbycquRqHk0sPqS0E 5nlKTcRqEsLFwppJfe5+F8nAE4e4YpFWrlPxB0crzko4vxyFGzzzGPwhImn0dEq4+t2p OV5+t5P7KSHFkXYYabX2mlQWdVWg7y6liF7deLvHekoox8HOUo6gTYNk2xIeRI2oZcV3 /isFVTqIJTUK9uAFazgl8lHHKSQeLnefk97VGA96tjgrZPaBA+D7OfOvQMm913vMBDMA cDAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-118156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118156-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id oj1-20020a056214440100b006968971e9e4si3790580qvb.63.2024.03.25.16.13.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 16:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=irl.hu dmarc=pass fromdomain=irl.hu); spf=pass (google.com: domain of linux-kernel+bounces-118156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118156-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AFBF41C380E6 for ; Mon, 25 Mar 2024 23:13:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE9DE82D80; Mon, 25 Mar 2024 23:13:46 +0000 (UTC) Received: from irl.hu (irl.hu [95.85.9.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0729D6F50F; Mon, 25 Mar 2024 23:13:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.85.9.111 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711408426; cv=none; b=D4fLj93AZzSxPktBIBTyuwGqPHQG4zZYGgIR2eZ41gdn0qzEljqpHPk0DV1KajCcXAhKq6Mwp/sxq9Uaiumz74L6JQYXkjI7VMFLLaWfCl+mOoAJXkCl7luc88qxMbxnn9Znzt42ujgAv572FfBhFGfVSfETccm76WybeLcSceM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711408426; c=relaxed/simple; bh=Mrh9SPT/w9jyav9m5OpYx1ZRCZOxPVd30OC7EfnHLQ4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=mTJbm79leWAMslrBsdAbbitE5EZXRwHoaZSuPxbEWQxolb+DOuvjfDC8rJ6JNFh8Kg/00FD/9CXvBgymI7SpODSRfWakTeYTM70CZNkRhIVxgsVBvMzF/vY7GBxtpqJ+pkXSAtRCVK3Eka6OqOs7I1JnI45Zrh6/6FyFZ1umlys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu; spf=pass smtp.mailfrom=irl.hu; arc=none smtp.client-ip=95.85.9.111 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=irl.hu Received: from [192.168.2.4] (51b68717.dsl.pool.telekom.hu [::ffff:81.182.135.23]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 0000000000077165.0000000066020525.0023AE94; Tue, 26 Mar 2024 00:13:41 +0100 Message-ID: Subject: Re: [PATCH 3/3] ALSA: hda/tas2781: add debug statements to kcontrols From: Gergo Koteles To: Pierre-Louis Bossart , Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , Andy Shevchenko Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 26 Mar 2024 00:13:40 +0100 In-Reply-To: <377e0f33-697c-4baf-ac48-baff6199dd53@linux.intel.com> References: <377e0f33-697c-4baf-ac48-baff6199dd53@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Pierre-Louis, On Mon, 2024-03-25 at 17:01 -0500, Pierre-Louis Bossart wrote: >=20 >=20 > > +++ b/sound/pci/hda/tas2781_hda_i2c.c > > @@ -189,6 +189,9 @@ static int tasdevice_get_profile_id(struct snd_kcon= trol *kcontrol, > > =20 > > ucontrol->value.integer.value[0] =3D tas_priv->rcabin.profile_cfg_id; > > =20 > > + dev_dbg(tas_priv->dev, "%s: %d\n", __func__, >=20 > Nit-pick: you don't need to add __func__ to dev_dbg logs, the user can > add the information with the dyndbg parameter, e.g. >=20 > options snd_intel_dspcfg dyndbg=3D+pmf >=20 > dev_err/warn don't have this functionality though so in those cases > there's no replacement for __func__ >=20 Thanks. I just put a #define DEBUG into the first line and rebuilt the module. It will be faster this way :) I will send a v2. Regards, Gergo