Message ID | 20230630142717.5314-1-johan+linaro@kernel.org |
---|---|
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 k13csp10417726vqr; Fri, 30 Jun 2023 07:38:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44Ev7lt9lAjGxVqCsK5SR7QqBo3/PdVuG9YP1wUBoOIKo1BM9pqGQHBMdM6md3Sz1Fvite X-Received: by 2002:a05:6a20:b711:b0:12c:7528:d981 with SMTP id fg17-20020a056a20b71100b0012c7528d981mr2099609pzb.18.1688135936503; Fri, 30 Jun 2023 07:38:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688135936; cv=none; d=google.com; s=arc-20160816; b=lH2Lzgwy4OYIjo8A9g8kdlD4MiWNaUd6S27sYMVUYKnuon4DijK6kBU1GJ1fCiip1O bsFrbIy9BhbU4PDGkqpctnrojaV5gwGE/kh77G6EIRmddsftEQ3E4gl0GUJdgy3u9x7O ELAl9S+whYD5M+FrgJgVz5SNmX4V7oU8RJfs5255sxBSurjABgCvlYWWxboxhj1AheXI XzPa/U8P6we24A5apBR0Z9bpKUXFMJc/Zw/AYNsOclAefvKN1xhdvxg+0JioyXWmvalZ 3Z5wtaKVw0RuZRpyTcqDBDCShZpuMjG1xwvaigbW1ViMW6Gv2nkjSsxyEtfxw4cJVVpq DYdQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=tp6gMH1IicozOxTy19L48KM6aE2rlRi8spbJQLR42D8=; fh=0TkepFmYXz4U6PH+EYFSuuWUUWn95KEjZbqs8NbnrCg=; b=efnbqQu8zfHqQgZmBu0U3tMnguo8FjojHJnafx3gLtXRD8ft7RkOcwivLOBrp2eina OAUyEbwKdDncecrmMEzX6Nr6PNpeL16j/73NTaol0NO4P5a15yJGuDCJVLHjm7ES5Wbe tZ0tNiOHwJJnnR+QiQV1sVJ8jSdARh2iJBOESqhc3LCP1HRqsqpYiXaMmlkJepdLePaT UPJbPPeEg2+zvR+TzblEpISePKmIHi+YhTU5INbBGL7Kz/32W8AiNwP7LGEE4Lo1xxNn TgO2cY0MN7JFBotWO8d36iWH1RHhP2M41QxQoq9JbHTgJLW4f5dYeB3mib3QdTiwo7Hv KG/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="i+wLH/8a"; 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 t27-20020a056a00139b00b0068219eb279bsi3809728pfg.245.2023.06.30.07.38.38; Fri, 30 Jun 2023 07:38:56 -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="i+wLH/8a"; 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 S231854AbjF3O1Y (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Fri, 30 Jun 2023 10:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbjF3O1U (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 30 Jun 2023 10:27:20 -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 ED0D23AA4 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 5506D6175D for <linux-kernel@vger.kernel.org>; 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 <johan+linaro@kernel.org>) id 1qFF5o-0001O3-FO; 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 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 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?1770138827543083685?= X-GMAIL-MSGID: =?utf-8?q?1770138827543083685?= |
Series |
ASoC: codecs: wcd938x/wcd934x: loglevel fix and cleanups
|
|
Message
Johan Hovold
June 30, 2023, 2:27 p.m. UTC
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(-)
Comments
On 30/06/2023 15:27, Johan Hovold wrote: > 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 > lgtm, Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --srini > sound/soc/codecs/wcd934x.c | 8 ++++---- > sound/soc/codecs/wcd938x.c | 17 +++++++++-------- > 2 files changed, 13 insertions(+), 12 deletions(-) >
On Fri, 30 Jun 2023 16:27:12 +0200, Johan Hovold wrote: > 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. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/5] ASoC: codecs: wcd938x: fix mbhc impedance loglevel commit: e5ce198bd5c6923b6a51e1493b1401f84c24b26d [2/5] ASoC: codecs: wcd938x: drop inline keywords commit: 5db9fe9562aaefca3c972401a9e3d6454707b1d5 [3/5] ASoC: codecs: wcd938x: use dev_printk() for impedance logging commit: 17d59d9ed832742f9572fe5e77ed3a66f5ae404d [4/5] ASoC: codecs: wcd934x: demote impedance printk commit: cb7d60ab98cfe12fdd6052142176d42682f78540 [5/5] ASoC: codecs: wcd934x: drop inline keywords commit: c93723ada378a63929b3135b4f30483383e88e05 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark