diff options
Diffstat (limited to 'drivers/regulator/ab8500-debug.c')
| -rw-r--r-- | drivers/regulator/ab8500-debug.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/regulator/ab8500-debug.c b/drivers/regulator/ab8500-debug.c index da182641b2c..50789258654 100644 --- a/drivers/regulator/ab8500-debug.c +++ b/drivers/regulator/ab8500-debug.c @@ -1526,12 +1526,11 @@ static struct ab8500_force_reg ab8500_force_reg[] = { * ExtSupplyRegu (HSI: 0x2a on v2-v40?) * OTP: 0x15, HSI: 0x28, suspend: 0x28/0x3f (value/mask) * [3:2] VExtSupply2Regu[1:0] = 10 = Vext2 in HW control - * [1:0] VExtSupply1Regu[1:0] = 00 = Vext1 off */ .name = "ExtSupplyRegu", .bank = 0x04, .addr = 0x08, - .mask = 0x0f, + .mask = 0x0c, .val = 0x08, }, { @@ -1736,15 +1735,15 @@ static int __devinit ab8500_regulator_debug_probe(struct platform_device *plf) if ((abx500_get_chip_id(&pdev->dev) >= 0x30) && cpu_is_u8500v22()) { /* * find ExtSupplyRegu register (bank 0x04, addr 0x08) - * and update value (Vext1 in low-power, Vext2 off). + * and update value (Vext2 off). */ for (i = 0; i < ARRAY_SIZE(ab8500_force_reg); i++) { if (ab8500_force_reg[i].bank == 0x04 && ab8500_force_reg[i].addr == 0x08) { - u8 val, val_mask = 0x0f; + u8 val, val_mask = 0x0c; val = ab8500_force_reg[i].val; - val = (val & ~val_mask) | (0x03 & val_mask); + val = (val & ~val_mask) | (0x00 & val_mask); ab8500_force_reg[i].val = val; } } |
