Skip to content

Commit d67dada

Browse files
tq-steinabroonie
authored andcommitted
regulator: pca9450: Fix BUCK2 enable_mask
This fixes a copy & paste error. No functional change intended, BUCK1_ENMODE_MASK equals BUCK2_ENMODE_MASK. Fixes: 0935ff5 ("regulator: pca9450: add pca9450 pmic driver") Originally-from: Robin Gong <[email protected] Signed-off-by: Alexander Stein <[email protected] Reviewed-by: Frieder Schrempf <[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]
1 parent ac9a786 commit d67dada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/regulator/pca9450-regulator.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static const struct pca9450_regulator_desc pca9450a_regulators[] = {
264264
.vsel_reg = PCA9450_REG_BUCK2OUT_DVS0,
265265
.vsel_mask = BUCK2OUT_DVS0_MASK,
266266
.enable_reg = PCA9450_REG_BUCK2CTRL,
267-
.enable_mask = BUCK1_ENMODE_MASK,
267+
.enable_mask = BUCK2_ENMODE_MASK,
268268
.ramp_reg = PCA9450_REG_BUCK2CTRL,
269269
.ramp_mask = BUCK2_RAMP_MASK,
270270
.ramp_delay_table = pca9450_dvs_buck_ramp_table,
@@ -502,7 +502,7 @@ static const struct pca9450_regulator_desc pca9450bc_regulators[] = {
502502
.vsel_reg = PCA9450_REG_BUCK2OUT_DVS0,
503503
.vsel_mask = BUCK2OUT_DVS0_MASK,
504504
.enable_reg = PCA9450_REG_BUCK2CTRL,
505-
.enable_mask = BUCK1_ENMODE_MASK,
505+
.enable_mask = BUCK2_ENMODE_MASK,
506506
.ramp_reg = PCA9450_REG_BUCK2CTRL,
507507
.ramp_mask = BUCK2_RAMP_MASK,
508508
.ramp_delay_table = pca9450_dvs_buck_ramp_table,

0 commit comments

Comments
 (0)