Message ID | 20230630142717.5314-5-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp10421985vqr; Fri, 30 Jun 2023 07:45:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ736GPtQWyuAm9eZIxglyBDvyU2Ch+M748bGOQIHFVfgalCHQOY00ukymfZpbZDp9TDDREX X-Received: by 2002:a05:6a20:7d93:b0:106:c9b7:c932 with SMTP id v19-20020a056a207d9300b00106c9b7c932mr3025153pzj.1.1688136326271; Fri, 30 Jun 2023 07:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688136326; cv=none; d=google.com; s=arc-20160816; b=XC6hJmbVjnk/mrReFuIn/qCQNG+bxA9kApCl62kbFCfWHEAjeV9hYnEMfH8xTSlUcB 0wi2VMCKTPQwoknp825skahDfwuTfIKGmBketwoH09OcfQ0vdRwptanzarbBlge33dmk 1uZW/e9VN6rbgqoMNJucjc6LrnNeIdk6/iYjjkhDImU/4fVMMtDTws+98+bnHugfPhno AH9BxOw3o/f8x9haw4UMiGauINdpEbEJqSiDciTw+t8uqSYRS245KwaHEXi7ffPaa4Lv WJ4pOMgSaH2aYE34sFSkzkecKAeRIbzo9dCPTGDeP8nlHogL+p+v7jehP14t0PZ6OIpW nk9w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SCjJyDgYWs0mhGO4j6jSgEJiWz/Y0CUQTjrC1iE7u9g=; fh=0TkepFmYXz4U6PH+EYFSuuWUUWn95KEjZbqs8NbnrCg=; b=GmLO0a3hU8rDT4UqRM0V/nFHnhxXZt9QCT7winoBIjsXiclK5+uWDTmvjStmqoEd9p LFFBDq3CKDoLm29T770A0DEoKnh1Mn9bm1g2Sf9rd5YD+fE5dw8bbSbSaXHh2XOMsdiX KiLviwRLKngzTFK4Wk+oqSPwQIydRidwF+k/HfQPh14PNFqJ/M83KdJpM7+HQPN8oX16 SoMr1DKerG3+MVlVWygTh6bhxIM24QoaV+HTqryc0qb4bsZ2cJtvSAzZMwXXsix0uhFe MlfF0jLjsZsJVivjqTDz2OMEv87KzV8+/tAFSFUBnGwxzA931qk/tzjkHJ4Miql5eauB 7G5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jcldJ0KI; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a6543c7000000b0055384329027si5124903pgp.566.2023.06.30.07.44.54; Fri, 30 Jun 2023 07:45:26 -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=@kernel.org header.s=k20201202 header.b=jcldJ0KI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232307AbjF3O1f (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Fri, 30 Jun 2023 10:27:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbjF3O1V (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 30 Jun 2023 10:27:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F26B33AAD for <linux-kernel@vger.kernel.org>; Fri, 30 Jun 2023 07:27:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6C44761769 for <linux-kernel@vger.kernel.org>; Fri, 30 Jun 2023 14:27:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB857C433C8; Fri, 30 Jun 2023 14:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688135238; bh=d1TV3UMh6xoeemuKnST1bo2dXdckO3q+r8QUrL0X6V0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jcldJ0KIiGOHCLdh9VVbIIOMTDdsd6uLObALf9+N/4QXztMgUhpnzo07D6JSEprGM ysVwMdU2PImvgsB5pqYjIvXZMsmeeULwOILdMeIoJXSwnjfIErW6dM4eX1nbNAAJXY V9JcWcfAE4AfzWdwEc1M4M77rRKpZVqIQwUz3MiMlfa2v7hLL3SFBbvGoiSa+xN5H5 OfzWVaRpKNjExA124iP9Ph2a1ewcq91hqNWwCiKAMNmSwWeO7QJdoOU5wS78uBPvXy fzqKb+BQ2096laCMex5jcQuh3ulVn45f94C2JgpZgoQgM6iNWghg5jSYM2fyJqS3/W W3WQTNgRXUdWg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1qFF5p-0001OU-GP; Fri, 30 Jun 2023 16:27:25 +0200 From: Johan Hovold <johan+linaro@kernel.org> To: Mark Brown <broonie@kernel.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 4/5] ASoC: codecs: wcd934x: demote impedance printk Date: Fri, 30 Jun 2023 16:27:16 +0200 Message-Id: <20230630142717.5314-5-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20230630142717.5314-1-johan+linaro@kernel.org> References: <20230630142717.5314-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770139236720840807?= X-GMAIL-MSGID: =?utf-8?q?1770139236720840807?= |
Series |
ASoC: codecs: wcd938x/wcd934x: loglevel fix and cleanups
|
|
Commit Message
Johan Hovold
June 30, 2023, 2:27 p.m. UTC
Demote the MBHC impedance measurement printk, which is only needed
for development and debugging, to debug level.
While at it, fix the capitalisation of "ohm" and add the missing space
before the opening parenthesis.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
sound/soc/codecs/wcd934x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wcd934x.c b/sound/soc/codecs/wcd934x.c index c0d1fa36d841..9d724b5710f7 100644 --- a/sound/soc/codecs/wcd934x.c +++ b/sound/soc/codecs/wcd934x.c @@ -2683,7 +2683,7 @@ static inline void wcd934x_mbhc_get_result_params(struct wcd934x_codec *wcd934x, else if (x1 < minCode_param[noff]) *zdet = WCD934X_ZDET_FLOATING_IMPEDANCE; - dev_info(wcd934x->dev, "%s: d1=%d, c1=%d, x1=0x%x, z_val=%d(milliOhm)\n", + dev_dbg(wcd934x->dev, "%s: d1=%d, c1=%d, x1=0x%x, z_val=%di (milliohm)\n", __func__, d1, c1, x1, *zdet); ramp_down: i = 0;