Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22406941rwd; Fri, 30 Jun 2023 07:40:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5FaLnIJBsxFRvFYowM6+bLNlVWjZ8QO+5rECZxv8MGxceJgdHNzTNhZuiMuaP5x/JqIz/C X-Received: by 2002:a05:6808:114d:b0:3a3:5fc6:3ba9 with SMTP id u13-20020a056808114d00b003a35fc63ba9mr3158611oiu.52.1688136050737; Fri, 30 Jun 2023 07:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688136050; cv=none; d=google.com; s=arc-20160816; b=D0qdbJL/IR7uf1QaY7G08kvB3Mcoq1jBwSWY93BurM+R8WEeucWoRWsncAluSI9St3 YFUZriuubhleG+jHu/ssSLQq/DAy/w8IkP2YMclfkueRV/vNNERvHKvk69etBJ4lBcwy 83y51VLQniQ6bBGpbwmc5LyXB8c5RuLmop9NHQb2spmU5t9g7pWUuBzVUVZmL9YX+jCj 84PwVLb9vIBK5gTWWY61R26m7+Bbf7FWq15dD83IwBXTpO2Ho+HaYVlAP0AZVtwbT1MX SvBLlrc8oLuqq9OVvIeFZY5rCj2LMHbD+KSD5mnaZE51omCojnXhpwPUPKWn1wqHmFZn fzJg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 144-20020a630296000000b0055ab9bf1e3csi10994619pgc.738.2023.06.30.07.40.34; Fri, 30 Jun 2023 07:40:50 -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 S231617AbjF3O1X (ORCPT + 99 others); Fri, 30 Jun 2023 10:27:23 -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 ); 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 ; 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 ; 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.39.3