aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/palmas-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-04-19 08:33:45 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-22 08:27:16 -0400
commite31089c608ae8fa323c5f9c3a2fa208d25e052a6 (patch)
treef248697c55d53a2c677c496bee3ebd39ea465288 /drivers/regulator/palmas-regulator.c
parentf22c2bae2e9ca75174614d7fdccc206b2b062138 (diff)
regulator: palmas: Add missing ctrl_addr setting for SMPS10
The ctrl_addr setting for SMPS10 is missed, thus palmas_smps_init() read/write wrong register for SMPS10 in current code. Fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
-rw-r--r--drivers/regulator/palmas-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index a74106322604..552ed514ba25 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -98,6 +98,7 @@ static const struct regs_info palmas_regs_info[] = {
98 { 98 {
99 .name = "SMPS10", 99 .name = "SMPS10",
100 .sname = "smps10-in", 100 .sname = "smps10-in",
101 .ctrl_addr = PALMAS_SMPS10_CTRL,
101 }, 102 },
102 { 103 {
103 .name = "LDO1", 104 .name = "LDO1",