From patchwork Wed May 10 13:57:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 92150 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3658188vqo; Wed, 10 May 2023 07:15:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dFzBFrCDyHQ630rhq6RT6tRmWYXFhRoGogJ2fzkYUazQOP5oci1DoU7GXPBUlMitALjjB X-Received: by 2002:a05:6a20:3d26:b0:101:69ad:e488 with SMTP id y38-20020a056a203d2600b0010169ade488mr7150115pzi.29.1683728133728; Wed, 10 May 2023 07:15:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683728133; cv=none; d=google.com; s=arc-20160816; b=Gzzpm7R1AOQX5w+xkvFBbLXn18k3MhV9YWhhuedd483KFYm6OR4iNI/Z+en/apfx74 rrXtP7uPEQuNtwhKE5DiDrfHKgc+GSZIEDuahpb4ZCBuPC93tGAN3bapOw7bsOR0guMs 0heTqWRolIQW1eAda+s9b2z6Y6JW+JfjZCD4Io3yX6gGURgPTwwv+ANHLNs62bNzhxEr 7wy9lGFZcFRCaekh64OycmnPLAHdpRfdC9MtgAzAxY+NndF46GySybGtDMIUnaIUd+9t G1+HS8oeZU2W25TBC0PhzuDc6DdShHwF1jIZ2WBIwivTsb8SkFBVUDPf4pjcYEVf165C VGZQ== 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:dkim-signature; bh=BNO8j0t7vrgZ1nvARmVdOCS3hKJzVJZROdkILgcw9ZY=; b=opVHEYE6EAKJ+2CRRsnXZeQHSQkOp8zQepPF9Un7EzwncFhdm5y9sRdZfBfFxw3LYM vfx8vygPqaWbx9iWKorLqZmmgvYBJsWFssB3Gum/heDZLSYD+0MxtIOeayYG1a8VZuX0 yB28xMiveypkgpq89JHPJXTzKM47vntyNLdWJFGPAaLunG+1eEtVkllsg8NFI4FfSYzo 3YGxMxb53O/lOMXf25SQGOgRmfwRtS1yPM5Tw8z742KIUAagorp6YKZ0KfI8g12a/RQH Nk34nL7A514dsiRQ0Oj/hax8lFqrUElZZRq+mZKIi4oE5JuoXGe+0y45AIMIfsppFtYu tMJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tq-group.com header.s=key1 header.b=WMZK1ybd; dkim=pass header.i=@tq-group.com header.s=key1 header.b=lUQpryms; 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=tq-group.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x7-20020aa79a47000000b0064380c6010fsi4789442pfj.397.2023.05.10.07.15.18; Wed, 10 May 2023 07:15:33 -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=@tq-group.com header.s=key1 header.b=WMZK1ybd; dkim=pass header.i=@tq-group.com header.s=key1 header.b=lUQpryms; 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=tq-group.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237244AbjEJN56 (ORCPT + 99 others); Wed, 10 May 2023 09:57:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236961AbjEJN5x (ORCPT ); Wed, 10 May 2023 09:57:53 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB16940C2 for ; Wed, 10 May 2023 06:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683727046; x=1715263046; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BNO8j0t7vrgZ1nvARmVdOCS3hKJzVJZROdkILgcw9ZY=; b=WMZK1ybdguumHhgGMj95cE3BzPUbKpHnJzEPbrdqZzd1/O21kqrPNMh8 e+I5ikO7u0Ue9QnMzdm5U53K224oayA+5Zwcf9gpxY4+zAApchnHuokvR P3VfhDBdtcDRvG4+OyK+hfJr5hMMxyYP2gh3ALgKT4f7walxYzWtdpSWp 2dVQqrczDukCtg6ZVdpDiT6Wue65uv2HoeKSPSVH+ViVmJMo+5p/11mib uYvsPmXg44vvWzETJIX4qWHh3kBDJYfQXCRFmWYrRe4y6Touz49konA6B X4GxPz5as3BW0kjJoQ0QOJ3VWBSxbDqJWbYPtsNDZ9cgr9hk+By1cE6QP g==; X-IronPort-AV: E=Sophos;i="5.99,264,1677538800"; d="scan'208";a="30832415" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 10 May 2023 15:57:19 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 10 May 2023 15:57:19 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 10 May 2023 15:57:19 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1683727039; x=1715263039; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=BNO8j0t7vrgZ1nvARmVdOCS3hKJzVJZROdkILgcw9ZY=; b=lUQprymsvrx/B+2iIGoKZJYQZCA6dT11iY8Gs8Wo+wNji65/71bau6k+ lTlzhx2wPSo8bbJlKpVbie5TzeQvXfusuudPn5lQA+EcNy6f4FC4XP6Sh ERXnLWEt73RNZROt8Y0+pGJvtb+D62ogoxU9NAppFRwKf6WUNsdbowRIk 0fDRzfE1NkXaNmCWKgmCaaehEA4HUaJ5HHSV0pbVugK58Ao1zwz1euWn4 WAOKFJ2ItHLnOIUAXUxRTpSSBTOuQrwtPe6cwjW3V6TMGUgkNEqzXr4zS AFBj1TWJQFQFM1rO3280pK2jMCbt9008+7mvQQDr6/gzm7onkjaEYUmI7 A==; X-IronPort-AV: E=Sophos;i="5.99,264,1677538800"; d="scan'208";a="30832414" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 10 May 2023 15:57:19 +0200 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 2841F280056; Wed, 10 May 2023 15:57:19 +0200 (CEST) From: Alexander Stein To: Liam Girdwood , Mark Brown , Frieder Schrempf , Robin Gong Cc: Alexander Stein , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/1] regulator: pca9450: Fix BUCK2 enable_mask Date: Wed, 10 May 2023 15:57:18 +0200 Message-Id: <20230510135718.2268529-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765516911680545087?= X-GMAIL-MSGID: =?utf-8?q?1765516911680545087?= This fixes a copy & paste error. No functional change intended, BUCK1_ENMODE_MASK equals BUCK2_ENMODE_MASK. Fixes: 0935ff5f1f0a ("regulator: pca9450: add pca9450 pmic driver") Originally-from: Robin Gong Signed-off-by: Alexander Stein Reviewed-by: Frieder Schrempf --- Changes in v2: * Explicitly mention in the commit message that there is no functional change This diff is extracted from a downstream commit authored by Robin Gong. drivers/regulator/pca9450-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/pca9450-regulator.c b/drivers/regulator/pca9450-regulator.c index 9d0ed87f7e32..4983163130c6 100644 --- a/drivers/regulator/pca9450-regulator.c +++ b/drivers/regulator/pca9450-regulator.c @@ -265,7 +265,7 @@ static const struct pca9450_regulator_desc pca9450a_regulators[] = { .vsel_reg = PCA9450_REG_BUCK2OUT_DVS0, .vsel_mask = BUCK2OUT_DVS0_MASK, .enable_reg = PCA9450_REG_BUCK2CTRL, - .enable_mask = BUCK1_ENMODE_MASK, + .enable_mask = BUCK2_ENMODE_MASK, .enable_val = BUCK_ENMODE_ONREQ_STBYREQ, .ramp_reg = PCA9450_REG_BUCK2CTRL, .ramp_mask = BUCK2_RAMP_MASK, @@ -509,7 +509,7 @@ static const struct pca9450_regulator_desc pca9450bc_regulators[] = { .vsel_reg = PCA9450_REG_BUCK2OUT_DVS0, .vsel_mask = BUCK2OUT_DVS0_MASK, .enable_reg = PCA9450_REG_BUCK2CTRL, - .enable_mask = BUCK1_ENMODE_MASK, + .enable_mask = BUCK2_ENMODE_MASK, .enable_val = BUCK_ENMODE_ONREQ_STBYREQ, .ramp_reg = PCA9450_REG_BUCK2CTRL, .ramp_mask = BUCK2_RAMP_MASK,