Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4462025rwb; Tue, 6 Sep 2022 07:53:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR5VKAlAl5WnEMYDM50z3exGeyoznl64g8q9HaayWtDXzclrbxtEV3adinFTtDaBtE+abe+7 X-Received: by 2002:a05:6402:c45:b0:442:c549:8e6b with SMTP id cs5-20020a0564020c4500b00442c5498e6bmr48277103edb.123.1662476035155; Tue, 06 Sep 2022 07:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662476035; cv=none; d=google.com; s=arc-20160816; b=F23RI9hI2dYQgJRAzERBpGSKoO93m44/9KNG/D+nnszxQzYqux8SqQFwkjY/RhVA2Y iQn5HHh6zrulN56nm4dy10cC9kba6G73G1qw+p5Y4iYNWuKyvXSv0TzAs3UOlmNAWEQ8 Vi3c8gSiQQWi2TO4rzLcDNt8hbBtNxLzHdVUXoM4oqrc4gNnfPwkHozqnSOh9gCXcTIO diuF9d/IGeBPHZuo+sA9h7T2dRe3IHdfM7NOCQg3ASAxZsI9k/cV0CbCXtT8COZMgjei Emjp+WSUjQj5RQGSoA0Txn0ji8wg1h+XOxauDzlOX6NiH5T+BAMrZ1TAW2ekDsHpYlvr hqSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=KcslnqJpmiUoLr6Offq0O1t2hwZTt1ZM4FBUaKZE0GM=; b=pDR5FrkyjVcv6jifH2CFyXNAViqmO7tO4J2bjk3xMrnCTExULwKu9i1zM6nkNxv1wx mpRKnGp7TFu69gfnUSq+hNqNHlvU79zyyh4KjDo8yeSiVC/7T8dT4CMUvbnoyEzLyJa+ pcNYAaQineeOoyeocS4RxPAaVRMNHKxei2DnCSsITdSTPKHYFF0+6Iix47PetCivAmGZ D33DbQ3fqufjICnOZ2NGnFiankLzJR91qd4wAyPXQRCgfXMj8AKv6H/j2/LesgdPENj9 ftB9/1Aeh3fv9R61SqqbAK8dpZs7rH7FWYv6H05xGMPnLXxrxDi1qHHtj9MP2/rQGr/R cPvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="VuME/0UZ"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a1709064fcc00b0073d98728580si2012541ejw.616.2022.09.06.07.53.30; Tue, 06 Sep 2022 07:53: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=@linuxfoundation.org header.s=korg header.b="VuME/0UZ"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240448AbiIFNd5 (ORCPT + 99 others); Tue, 6 Sep 2022 09:33:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240542AbiIFNdK (ORCPT ); Tue, 6 Sep 2022 09:33:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8B1A7823C; Tue, 6 Sep 2022 06:32:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 203266154A; Tue, 6 Sep 2022 13:32:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 212B3C433C1; Tue, 6 Sep 2022 13:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662471173; bh=s0zx0goknXA6fbAcjuEMEq/YelsOfuPhdzbB3HsBVnc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VuME/0UZFG9282qPV+Me8e1HvE0Cp2IBIpcVoafIPkJuik1AY0lcBOhq++5xi7i8b SLKV+S/yj2M7VEqCe8a54MzvmEo5KXlLMSscm8nSMfArxNh23Nm5wpySH+m8lwJtFy u8UnQ8PNfAgGhjDkWPUBYA2FPHUbqFmfFYepW+X0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pierre-Louis Bossart , Ranjani Sridharan , =?UTF-8?q?P=C3=A9ter=20Ujfalusi?= , Bard Liao , Takashi Iwai , Sasha Levin Subject: [PATCH 5.10 09/80] ALSA: hda: intel-nhlt: remove use of __func__ in dev_dbg Date: Tue, 6 Sep 2022 15:30:06 +0200 Message-Id: <20220906132817.310080258@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220906132816.936069583@linuxfoundation.org> References: <20220906132816.936069583@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Pierre-Louis Bossart [ Upstream commit 6376ab02374822e1e8758a848ee736a182786a2e ] The module and function information can be added with 'modprobe foo dyndbg=+pmf' Suggested-by: Greg KH Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Reviewed-by: Péter Ujfalusi Reviewed-by: Bard Liao Link: https://lore.kernel.org/r/20220616220559.136160-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/hda/intel-nhlt.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/sound/hda/intel-nhlt.c b/sound/hda/intel-nhlt.c index e2237239d922a..5e04fedaec49e 100644 --- a/sound/hda/intel-nhlt.c +++ b/sound/hda/intel-nhlt.c @@ -55,8 +55,8 @@ int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt) /* find max number of channels based on format_configuration */ if (fmt_configs->fmt_count) { - dev_dbg(dev, "%s: found %d format definitions\n", - __func__, fmt_configs->fmt_count); + dev_dbg(dev, "found %d format definitions\n", + fmt_configs->fmt_count); for (i = 0; i < fmt_configs->fmt_count; i++) { struct wav_fmt_ext *fmt_ext; @@ -66,9 +66,9 @@ int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt) if (fmt_ext->fmt.channels > max_ch) max_ch = fmt_ext->fmt.channels; } - dev_dbg(dev, "%s: max channels found %d\n", __func__, max_ch); + dev_dbg(dev, "max channels found %d\n", max_ch); } else { - dev_dbg(dev, "%s: No format information found\n", __func__); + dev_dbg(dev, "No format information found\n"); } if (cfg->device_config.config_type != NHLT_CONFIG_TYPE_MIC_ARRAY) { @@ -95,17 +95,16 @@ int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt) } if (dmic_geo > 0) { - dev_dbg(dev, "%s: Array with %d dmics\n", __func__, dmic_geo); + dev_dbg(dev, "Array with %d dmics\n", dmic_geo); } if (max_ch > dmic_geo) { - dev_dbg(dev, "%s: max channels %d exceed dmic number %d\n", - __func__, max_ch, dmic_geo); + dev_dbg(dev, "max channels %d exceed dmic number %d\n", + max_ch, dmic_geo); } } } - dev_dbg(dev, "%s: dmic number %d max_ch %d\n", - __func__, dmic_geo, max_ch); + dev_dbg(dev, "dmic number %d max_ch %d\n", dmic_geo, max_ch); return dmic_geo; } -- 2.35.1