summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-12-16 18:15:26 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2009-12-16 18:15:26 +1100
commite890b10b782ef8592077bce114e2eadfa40ea5fe (patch)
treebd937d9c2b4a91322e86bb9aed81ae1ca9e9f236
parent572df07ede458350fa1bee093119f95d6f288004 (diff)
Revert "twl4030-regulator: Remove regulator from all groups when disabling"
This reverts commit f33a0d47bd44dbf44a45c33b32e1e3bbbf8d06e6.
-rw-r--r--drivers/regulator/twl-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index baef0caa6359..7ea1c3a31081 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -155,7 +155,6 @@ static int twlreg_disable(struct regulator_dev *rdev)
else
grp &= ~P1_GRP_6030;
- grp &= ~(P1_GRP | P2_GRP | P3_GRP);
return twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_GRP, grp);
}