regulator: palmas: Add missing ctrl_addr setting for SMPS10
Subsystems (2)
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.
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/palmas-regulator.c | 1 + 1 file changed, 1 insertion(+)
drivers/regulator/palmas-regulator.c +1 -0
@@ -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
Quoted 5 lines · Axel Lin
The
ctrl_addrsetting for SMPS10 is missed, thuspalmas_smps_init()read/write wrong register for SMPS10 in current code. Fix it.Signed-off-by Axel Lin <[email protected]>---
Acked-by Laxman Dewangan<[email protected]>
Quoted 2 lines · Axel Lin
The
ctrl_addrsetting for SMPS10 is missed, thuspalmas_smps_init()read/write wrong register for SMPS10 in current code. Fix it.
Applied, thanks.