Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3149452lqp; Tue, 26 Mar 2024 00:16:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcpugNm04BxotrKG4nTBlMzCqg2Cunalx4jqsteC8bNjWXNuwSkxKq4MAYOg1ksQsYLCI4Ps63/mb6dbPcWMPB5RB+LhePvmwmakDFLA== X-Google-Smtp-Source: AGHT+IE/VLQDFjh/b4Zz+Q56VvWIV24JQ98jAwibPe9kwzePBgBldJC58/YvoWnmEnnzdDFkyzRK X-Received: by 2002:a17:903:18f:b0:1e0:e650:5ab with SMTP id z15-20020a170903018f00b001e0e65005abmr938608plg.16.1711437414505; Tue, 26 Mar 2024 00:16:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711437414; cv=pass; d=google.com; s=arc-20160816; b=M809IVEizlgtqpdnXvDMQgSUceCSa2X66fnQbqTempUaeq0JtxLB4oOLr+qkV6P1LL oR1bVmUpLh+aLMBUYJAHpoS+Lk3nCT08Km9gp+1Rt1yGEXrQGj1SqjhPf4hbi+qkq8NE S+67pqnD0DXIKhOBvQx9icbN7uoBCLt0UD4wgsbJANMNaHVTjML45FwKrKvZWqXcsCwS 9YME6Yc0L/CkzmwXUjKR28rczqF2fs93JuDT8dGUn4fnkRSoUMts/cvRz2NB92prxqNF sPV80Ccl8enpINhNHqz8eUK4K6yaPg7ciWqdrqKfrA678PmqnwqshjJ+c/Gx9UEj35Fq UlLw== 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:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=SudFTEiUfI2unsWkokt8yBfOaCJEwdmvYWm1y/DzONg=; fh=ci9qLXfN9TcinzYrpsup4f9g8/LyvMyDF4iR1bBjo3o=; b=EiPCdery0ZHqN7i/waErIK7FB8pXnlwvGWGRicoceGtErJ+MMIG4t3KSDDtpLJT/qt Booi6FcWp4ysvPMIr9A8dN2p/sSbh4ZEl83AT6o09D10T7gI9+Ndw9HjqCXfXJ3Q98ty RCvgp3BaqC1XLFg1XkzoKSlIH8BKFlxJKHka4kClhIDcQIpQl74VobQkubxYtP8W4C9g KjfWc8scFMb+q/JZcb+0aJ88X52gIyKS3jlDyd0zkCTwz0I/hI30kpwdj/+dwgAro/Xe D0TdFbeHZQsAHUNeQB9dM2JS5MTcKleTvkigxN6AEBnlKdHnllXe/jZI1cAxtOm4lDQr mo0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ss93DTeF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="p/9ZdpiT"; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ss93DTeF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-118449-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e13-20020a17090301cd00b001dd00449266si6865931plh.280.2024.03.26.00.16.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 00:16:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118449-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ss93DTeF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b="p/9ZdpiT"; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Ss93DTeF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-118449-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 282D8B219B0 for ; Tue, 26 Mar 2024 07:16:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1366313049B; Tue, 26 Mar 2024 07:16:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="Ss93DTeF"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="p/9ZdpiT"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="Ss93DTeF"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="p/9ZdpiT" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A229D13048D; Tue, 26 Mar 2024 07:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711437405; cv=none; b=DRpNpWYxfkXpzDYPwMK8yj+B4klVOt7mshzNcXz509o6sW9eTASsT+UNw7VdA0z8cVbjLQJl5QArWq0QoboZtcIf0K5XaEPA+w1lW4fwuINHSlxJQ9yZ5GrP0wYt2CxY2yHEuTlFpCRs2d7Oudw8+p5rTWUlEOUFFB0kq9UgVII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711437405; c=relaxed/simple; bh=QB2znJuNJc7Jw3xDnmQHgrPw3SJ62BZDEf9LwLRRtj0=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=mU15CVddSkcvcRwiZy1mjlX8gAi/QmDmnXNWVmAsB6mDPghigopvHvEBhHKjsyvPI/MzDZrCY2YxXDnGKLo6h4xQDJ7ch8kscMjJZ5JY8/xEXUuVkAPJnZvT4oA75gLuwrrD8ZvcVV3zgukHq0HvacctLHKuHPlYd1jBPTfw3o4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=Ss93DTeF; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=p/9ZdpiT; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=Ss93DTeF; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=p/9ZdpiT; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 865A0378A1; Tue, 26 Mar 2024 07:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1711437401; h=from:from:reply-to: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=SudFTEiUfI2unsWkokt8yBfOaCJEwdmvYWm1y/DzONg=; b=Ss93DTeFG9sYuMPeu2NOamNVGp1y2O+nQyXeDZrMtLXihWjIvrba9Oa7Endx2hc8AX8RVq jLe2JqbGUCtUqqHZXldbtwzQKj8ydPHX5e11ZP0sgxCV77I9Zax27P2uoTexdYkuzYCMgK dOc2nd/qpPFqj7TPav5G6dKASrWsFq0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1711437401; h=from:from:reply-to: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=SudFTEiUfI2unsWkokt8yBfOaCJEwdmvYWm1y/DzONg=; b=p/9ZdpiTRT6das/OoDxTgu/JxL8fXwUIdzpaW7qFg6yCbi/+32eXjla3Ue6gfMhHWvP9g4 kXOFiNRpbYVDXVCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1711437401; h=from:from:reply-to: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=SudFTEiUfI2unsWkokt8yBfOaCJEwdmvYWm1y/DzONg=; b=Ss93DTeFG9sYuMPeu2NOamNVGp1y2O+nQyXeDZrMtLXihWjIvrba9Oa7Endx2hc8AX8RVq jLe2JqbGUCtUqqHZXldbtwzQKj8ydPHX5e11ZP0sgxCV77I9Zax27P2uoTexdYkuzYCMgK dOc2nd/qpPFqj7TPav5G6dKASrWsFq0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1711437401; h=from:from:reply-to: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=SudFTEiUfI2unsWkokt8yBfOaCJEwdmvYWm1y/DzONg=; b=p/9ZdpiTRT6das/OoDxTgu/JxL8fXwUIdzpaW7qFg6yCbi/+32eXjla3Ue6gfMhHWvP9g4 kXOFiNRpbYVDXVCQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 3615013306; Tue, 26 Mar 2024 07:16:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id +DCdC1l2AmZbTgAAD6G6ig (envelope-from ); Tue, 26 Mar 2024 07:16:41 +0000 Date: Tue, 26 Mar 2024 08:16:42 +0100 Message-ID: <874jctwjhh.wl-tiwai@suse.de> From: Takashi Iwai To: Pierre-Louis Bossart Cc: Gergo Koteles , Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] ALSA: hda/tas2781: add debug statements to kcontrols In-Reply-To: <377e0f33-697c-4baf-ac48-baff6199dd53@linux.intel.com> References: <377e0f33-697c-4baf-ac48-baff6199dd53@linux.intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -3.27 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spamd-Result: default: False [-3.27 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_MED(-2.00)[suse.de:dkim]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[10]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.76)[84.29%]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from] X-Spam-Level: Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=Ss93DTeF; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b="p/9ZdpiT" X-Rspamd-Queue-Id: 865A0378A1 On Mon, 25 Mar 2024 23:01:18 +0100, Pierre-Louis Bossart wrote: > > > > > > +++ b/sound/pci/hda/tas2781_hda_i2c.c > > @@ -189,6 +189,9 @@ static int tasdevice_get_profile_id(struct snd_kcontrol *kcontrol, > > > > ucontrol->value.integer.value[0] = tas_priv->rcabin.profile_cfg_id; > > > > + dev_dbg(tas_priv->dev, "%s: %d\n", __func__, > > 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. > > options snd_intel_dspcfg dyndbg=+pmf Since this doesn't always show up, I don't mind to have the function name shown explicitly there. OTOH, what bothers me is that all those messages have a short format "__func__: %d" while the values are utterly different, depending on the function. That can be confusing. IMO, it'd be more user-friendly to indicate what values are presented, too. thanks, Takashi