Skip to contentSkip to conversation

regulator: palmas: Add missing ctrl_addr setting for SMPS10

PATCH Applied Axel Lin 3 participants 3 messages Apr 19, 2013 – Apr 22, 2013

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/regulator/palmas-regulator.c |    1 +
 1 file changed, 1 insertion(+)
drivers/regulator/palmas-regulator.c +1 -0
index 67ed5e5d..9254f94 100644
@@ -99,6 +99,7 @@ static const struct regs_info palmas_regs_info[] = {
 	{
 		.name		= "SMPS10",
 		.sname		= "smps10-in",
+		.ctrl_addr	= PALMAS_SMPS10_CTRL,
 	},
 	{
 		.name		= "LDO1",
Signature · 1 line
1.7.10.4
maintainer Applied
#2 lore raw
In reply to Axel Lin
Quoted 2 lines · Axel Lin

The ctrl_addr setting for SMPS10 is missed, thus palmas_smps_init() read/write wrong register for SMPS10 in current code. Fix it.

Applied, thanks.