summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-10-06 13:00:42 +0200
committerMark Brown <broonie@kernel.org>2015-10-06 13:00:42 +0200
commit22ca03a3ad63bb08d543af462b741b6bf2c329ed (patch)
tree63c8d5d6583d05d995cd798b3768c92e92fca2b6
parentMerge remote-tracking branch 'regulator/fix/core' into regulator-linus (diff)
parentregulator: axp20x: Fix enable bit indexes for DCDC4 and DCDC5 (diff)
downloadlinux-22ca03a3ad63bb08d543af462b741b6bf2c329ed.tar.xz
linux-22ca03a3ad63bb08d543af462b741b6bf2c329ed.zip
Merge remote-tracking branch 'regulator/fix/axp20x' into regulator-linus
-rw-r--r--drivers/regulator/axp20x-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c
index 01bf3476a791..a9567af7cec0 100644
--- a/drivers/regulator/axp20x-regulator.c
+++ b/drivers/regulator/axp20x-regulator.c
@@ -192,9 +192,9 @@ static const struct regulator_desc axp22x_regulators[] = {
AXP_DESC(AXP22X, DCDC3, "dcdc3", "vin3", 600, 1860, 20,
AXP22X_DCDC3_V_OUT, 0x3f, AXP22X_PWR_OUT_CTRL1, BIT(3)),
AXP_DESC(AXP22X, DCDC4, "dcdc4", "vin4", 600, 1540, 20,
- AXP22X_DCDC4_V_OUT, 0x3f, AXP22X_PWR_OUT_CTRL1, BIT(3)),
+ AXP22X_DCDC4_V_OUT, 0x3f, AXP22X_PWR_OUT_CTRL1, BIT(4)),
AXP_DESC(AXP22X, DCDC5, "dcdc5", "vin5", 1000, 2550, 50,
- AXP22X_DCDC5_V_OUT, 0x1f, AXP22X_PWR_OUT_CTRL1, BIT(4)),
+ AXP22X_DCDC5_V_OUT, 0x1f, AXP22X_PWR_OUT_CTRL1, BIT(5)),
/* secondary switchable output of DCDC1 */
AXP_DESC_SW(AXP22X, DC1SW, "dc1sw", "dcdc1", 1600, 3400, 100,
AXP22X_DCDC1_V_OUT, 0x1f, AXP22X_PWR_OUT_CTRL2, BIT(7)),