regulator: palmas: Add missing ctrl_addr setting for SMPS10
authorAxel Lin <axel.lin@ingics.com>
Fri, 19 Apr 2013 12:33:45 +0000 (20:33 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Apr 2013 12:27:16 +0000 (13:27 +0100)
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>
drivers/regulator/palmas-regulator.c

index a741063226044c91023c6f9bd320bd465931a2ac..552ed514ba25c88f18afec07389d40541f984583 100644 (file)
@@ -98,6 +98,7 @@ static const struct regs_info palmas_regs_info[] = {
        {
                .name           = "SMPS10",
                .sname          = "smps10-in",
+               .ctrl_addr      = PALMAS_SMPS10_CTRL,
        },
        {
                .name           = "LDO1",