summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/tps65218-regulator.c
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2014-06-18 10:17:48 -0500
committerMark Brown <broonie@linaro.org>2014-06-24 16:28:58 +0100
commit0eada6a1fc85a98ce69a199e46925abd6a7001c2 (patch)
tree6eef913ff739dd8649b4e300b0d3f3132e035650 /drivers/regulator/tps65218-regulator.c
parentd2fa87c3af0df7ed10463afc588affdab954fa92 (diff)
downloadlinux-0eada6a1fc85a98ce69a199e46925abd6a7001c2.tar.gz
linux-0eada6a1fc85a98ce69a199e46925abd6a7001c2.tar.bz2
linux-0eada6a1fc85a98ce69a199e46925abd6a7001c2.zip
regulator: tps65218: Correct the the config register for LDO1
Correct the the config register for LDO1. Fixes: 90e7d5262796 (regulator: tps65218: Add Regulator driver for TPS65218 PMIC) Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: <stable@vger.kernel.org> # v3.15
Diffstat (limited to 'drivers/regulator/tps65218-regulator.c')
-rw-r--r--drivers/regulator/tps65218-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
index edbc46e56e41..9effe48c605e 100644
--- a/drivers/regulator/tps65218-regulator.c
+++ b/drivers/regulator/tps65218-regulator.c
@@ -209,7 +209,7 @@ static const struct regulator_desc regulators[] = {
1, -1, -1, TPS65218_REG_ENABLE1,
TPS65218_ENABLE1_DC6_EN, NULL, NULL, 0, 0),
TPS65218_REGULATOR("LDO1", TPS65218_LDO_1, tps65218_ldo1_dcdc34_ops, 64,
- TPS65218_REG_CONTROL_DCDC4,
+ TPS65218_REG_CONTROL_LDO1,
TPS65218_CONTROL_LDO1_MASK, TPS65218_REG_ENABLE2,
TPS65218_ENABLE2_LDO1_EN, NULL, ldo1_dcdc3_ranges,
2, 0),