Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7333248rwr; Wed, 10 May 2023 07:03:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7gosBVy/+dsHzU6ZDhCV0E+KBt2mZS+OIIG100vIt8bg2GbYyYeBT8gSGTweue6j17Qavc X-Received: by 2002:a17:903:41d0:b0:1ac:4412:bd9 with SMTP id u16-20020a17090341d000b001ac44120bd9mr21938637ple.3.1683727417004; Wed, 10 May 2023 07:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683727416; cv=none; d=google.com; s=arc-20160816; b=AvjLdP/uvSDD+uDID6tV/YOXWPdVi/y5OHm68LrnQfeqP2sRW9iuo3JKRo7/PeXLZN M3VYhX6QLSIqw8YCZRkBXjtQwGcaoUkTVwExC1tzGCuArSlUqzAB9aqSbSh7+XBZkGJc Mc1rI2d9YJsUaNed1Bx+2JRX595JXwbm8extUTmhuXGiJrYKQfLCD8dXSguoYjRxv0uy XFESD0x/EpHx4yOpzRJR37wApd3t9PYPXMs8VGiOnJ4e3ZBJNabgs5gf+0cLRltJNPI5 z/sH2sGnBYIgkNTAA7bM2Zal63ZehV9pxkW0F5cj+yUA31DD5Z0oovbZ51E04lDrD3Mv pq4g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg13-20020a170902fb8d00b0019e2eb49236si3756302plb.229.2023.05.10.07.03.20; Wed, 10 May 2023 07:03:36 -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 S237020AbjEJN55 (ORCPT + 99 others); Wed, 10 May 2023 09:57:57 -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 Content-Transfer-Encoding: 8bit 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 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 --- 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, -- 2.34.1