From patchwork Fri Jul 21 08:28:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 123695 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp83809vqg; Fri, 21 Jul 2023 02:39:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlHUFLebjhMv/9PqH4VH4Nw08dgHwKZViO7c5eF7RnxV04aLM8cnyr5eeFszi5naO9v2026T X-Received: by 2002:a17:906:15b:b0:993:e9b8:90f4 with SMTP id 27-20020a170906015b00b00993e9b890f4mr1471941ejh.8.1689932370855; Fri, 21 Jul 2023 02:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689932370; cv=none; d=google.com; s=arc-20160816; b=tyZLMNY5ydDfEkgGYCxb04723FqwIgD5ev8HqIu7pqE+4jqVRapW99+kUAqVFzuWUP xlkjhEYx7YggQ3hevQvztE5eXXmDHb73uT4YZX1+0FzQkAcMBaAU/KXrGC6144Q/tVtQ o1ZwQHWcdHXqkTZ0f3biZfqebcX/K7fa316yULr+4QJrrNtM/bNQCMf8D1VWJsjC0b5c 6pOKSEs9KoL5Ccdne56IzueEL4Cnk3GyK41QzovTeLO+pcuMQgH4uqyAuOyZu1nXJbUA v1rFBX6g8lfMeCVGWcyk27tAiLXJ/j6Un1MdsOrtqThBDi2ncBtjLQZjILM5XKMP5gyp 40oA== 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=mjm1htpsgUdaRZcHsGo757GH1rkymaOgiUPQg9DWT7s=; fh=quagAReso5GuCO7sZPUeG8SoXywK0zWhBeT+ZK0yn6U=; b=yyAO5DO2/Ri8ffBPlf3IOINErMQL9K329SQyKKFGFpVcg6by4B8+fDcO17hJRUy50G DhxhuWFsCdcC3cmVIMH2CF/i/36aQTFBL31G3XMUey14NJc5kdNaOjjf6e8X1fLwRBy2 c1slvFKNCbbEncqtI6kh5+mU0ZFumz5RsXsDygsESxGY7+hDRfgD3ZddGwkeOWhuFSLh pw/FaZnm8wtrKp06GsFY2OC73P/GnOU/aJHDo3ZOQnoDLvTf3/tMqWHODlE/i9xu8tw4 x117SzHbQklXa7lMJPVlNksRvuR/DJGlHolKonOIyW0ZbplnY/L28REHSTHBdaCK/BPa Acbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RW7GYa24; 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=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a17090634cb00b00988e62b24ecsi1777529ejb.760.2023.07.21.02.39.04; Fri, 21 Jul 2023 02:39:30 -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=@chromium.org header.s=google header.b=RW7GYa24; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231551AbjGUI3u (ORCPT + 99 others); Fri, 21 Jul 2023 04:29:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbjGUI3k (ORCPT ); Fri, 21 Jul 2023 04:29:40 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5FDA2D76 for ; Fri, 21 Jul 2023 01:29:35 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-3a43cbb4343so1034448b6e.1 for ; Fri, 21 Jul 2023 01:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689928175; x=1690532975; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mjm1htpsgUdaRZcHsGo757GH1rkymaOgiUPQg9DWT7s=; b=RW7GYa24SF9OUtc1EwYBobJChC2NGH/9ryiaix+d6Lb7prlVSNmtW31odoBZ6MdhLH xGf7HcgZhS4CC2qc338kcpffmjLxhCqX7S0PN2nGX253i2MbmLXJM2aQLiaav5rxRzXS lkoLYnuPiwJNtT85A02CwFnryI1ZJ+Pyk2yuo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689928175; x=1690532975; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mjm1htpsgUdaRZcHsGo757GH1rkymaOgiUPQg9DWT7s=; b=Yl5O/oE1NQjWhxNizOjJtbGcVHUhpammyJK3Bqn3zLrdqiC43/HfKrTeV45t6EDkGC kIiZ+YR/EeiYSDtgzS6+EXWPBFZYUWh1ZswMNnlSoAxt9qCMZVDWOBNqe8m2h8Tvg6yi OLZ3y3Fruq3ndIexcCP4UtaqAtmE+kjfK0Zvd6gtSZL1EhWCLX9GcWjQ0u+Djply4MuH gOaZv+9QDIMKYviY0acGVSaP0Ed0puJ6qQqIv5YHysDayA9zrz6GdaeAXmUtFB0i3lif 1oLBvIEREBbG4M/WKvPbyZ0SBT8KED26Xydy9Evx3bwM88reLoI8ldfjj+Zn8JA3Mftz hKuQ== X-Gm-Message-State: ABy/qLbInhVs0micYdMGXb0MRM80NxPKJVVey0/p0MOIgWdagvUSFlI1 niuFCJX7BZ1tBF5TjSURhFMuCw== X-Received: by 2002:a05:6808:280b:b0:3a4:350e:b213 with SMTP id et11-20020a056808280b00b003a4350eb213mr1139687oib.27.1689928175257; Fri, 21 Jul 2023 01:29:35 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:6d86:d21:714:abab]) by smtp.gmail.com with ESMTPSA id d26-20020a63991a000000b0055fe64fd3f4sm2594382pge.9.2023.07.21.01.29.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 01:29:34 -0700 (PDT) From: Chen-Yu Tsai To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Liam Girdwood , Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Fei Shao Subject: [PATCH RESEND v2 3/7] regulator: mt6358: Fix incorrect VCN33 sync error message Date: Fri, 21 Jul 2023 16:28:55 +0800 Message-ID: <20230721082903.2038975-4-wenst@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230721082903.2038975-1-wenst@chromium.org> References: <20230721082903.2038975-1-wenst@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772022525272512380 X-GMAIL-MSGID: 1772022525272512380 After syncing the enable status of VCN33_WIFI to VCN33_BT, the driver will disable VCN33_WIFI. If it fails it will error out with a message. However the error message incorrectly refers to VCN33_BT. Fix the error message so that it correctly refers to VCN33_WIFI. Suggested-by: Fei Shao Fixes: 65bae54e08c1 ("regulator: mt6358: Merge VCN33_* regulators") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno --- drivers/regulator/mt6358-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/mt6358-regulator.c b/drivers/regulator/mt6358-regulator.c index da6b40f947c4..b9cda2210c33 100644 --- a/drivers/regulator/mt6358-regulator.c +++ b/drivers/regulator/mt6358-regulator.c @@ -661,7 +661,7 @@ static int mt6358_sync_vcn33_setting(struct device *dev) /* Disable VCN33_WIFI */ ret = regmap_update_bits(mt6397->regmap, MT6358_LDO_VCN33_CON0_1, BIT(0), 0); if (ret) { - dev_err(dev, "Failed to disable VCN33_BT\n"); + dev_err(dev, "Failed to disable VCN33_WIFI\n"); return ret; }