All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] regulator: pca9450: Fix BUCK2 enable_mask
@ 2023-03-10  9:28 Alexander Stein
  2023-03-13 13:46 ` Frieder Schrempf
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stein @ 2023-03-10  9:28 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Frieder Schrempf, Robin Gong
  Cc: Alexander Stein, linux-kernel

This fixes a copy & paste error.

Fixes: 0935ff5f1f0a ("regulator: pca9450: add pca9450 pmic driver")
Originally-from: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
This diff is extracted from a downstream commit authored by Robin Gong.
I'm not sure if adding Originally-from: is enough here or I do have to
change From: as well.

 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 c84d95b11e9c..544e741f7108 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-21 12:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-10  9:28 [PATCH 1/1] regulator: pca9450: Fix BUCK2 enable_mask Alexander Stein
2023-03-13 13:46 ` Frieder Schrempf
2023-03-13 14:21   ` Alexander Stein
2023-03-13 14:38     ` Frieder Schrempf
2023-04-21 11:57       ` Alexander Stein
2023-04-21 12:02         ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.