From patchwork Fri Jun 30 14:27:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13299721 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F128CEB64DD for ; Mon, 3 Jul 2023 08:34:15 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B3C50852; Mon, 3 Jul 2023 10:33:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B3C50852 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1688373253; bh=mKsth7EbgkktN+M1x6jv9ltsVnjMGds9Bu4btwXjhuc=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=CbEqmuwvxma4DOK7zuhxNHXxgewoskOxSVsilDdAs5ZYtkMmmoe5d1t39U4AjGufF ZEE6hECP+GpGL8xx3YQjn/Rrp0oqgl54fDPTbwwXSvZXihFGwTyMPt5+yxYqd1OMHG OIhKR3HgzukiZ2J6HOCAI850skwKhdquR5n5gwz4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id DDB63F8055B; Mon, 3 Jul 2023 10:32:28 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 33C0CF80563; Mon, 3 Jul 2023 10:32:28 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3081AF80534; Fri, 30 Jun 2023 16:27:29 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::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 alsa1.perex.cz (Postfix) with ESMTPS id A8F6BF80212 for ; Fri, 30 Jun 2023 16:27:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A8F6BF80212 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=i+wLH/8a 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 4888361762; Fri, 30 Jun 2023 14:27:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB939C433CB; 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=mKsth7EbgkktN+M1x6jv9ltsVnjMGds9Bu4btwXjhuc=; h=From:To:Cc:Subject:Date:From; b=i+wLH/8aztVS6laPB94qFGyj49FNfrCnK1P4cZtv8bt+cErbMbT6EHOinqk6S6IG2 A0oRHVrLT/N75GT2CeKVImUVz0vCZ/M1tbxy8QAjZCGkxeq470Q580o4d8Hmh2wGL5 9OXmakeNK9A6lNP5GUUwBfS7vRKWDjlC3JZK3oZ1+iX/qKxXaXWu86FXn0LZfgOOiH M/ZkTqq1aVOJZ8sR/7bY52YvtrtEmPlr4UO9abheW48h+YJWz/nc8KrVyxbkBPPXfn LRhrTpiFBv3bmSUVeStZxhGM1xdFFt16ASmQvxQInsbznK+mmJBoMegKXUj6njSzJd kq8C5/9LfAVww== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1qFF5o-0001O3-FO; Fri, 30 Jun 2023 16:27:25 +0200 From: Johan Hovold To: Mark Brown , Srinivas Kandagatla Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/5] ASoC: codecs: wcd938x/wcd934x: loglevel fix and cleanups Date: Fri, 30 Jun 2023 16:27:12 +0200 Message-Id: <20230630142717.5314-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 X-MailFrom: johan+linaro@kernel.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: KZAS33HNVLO4XLCIYBS6CIEIZO5GIBUY X-Message-ID-Hash: KZAS33HNVLO4XLCIYBS6CIEIZO5GIBUY X-Mailman-Approved-At: Mon, 03 Jul 2023 08:32:22 +0000 X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: When investigating a race in the wcd938x driver I noticed that the MBHC impedance measurements where printed at error loglevel which is clearly wrong. Fix that, and clean up the logging somewhat by using dev_printk() and addressing some style issues. Included are also two patches that drop the bogus inline keywords from the functions involved. Johan Johan Hovold (5): ASoC: codecs: wcd938x: fix mbhc impedance loglevel ASoC: codecs: wcd938x: drop inline keywords ASoC: codecs: wcd938x: use dev_printk() for impedance logging ASoC: codecs: wcd934x: demote impedance printk loglevel ASoC: codecs: wcd934x: drop inline keywords sound/soc/codecs/wcd934x.c | 8 ++++---- sound/soc/codecs/wcd938x.c | 17 +++++++++-------- 2 files changed, 13 insertions(+), 12 deletions(-)