regulator: lp8752: set dcdc mode as auto mode

lp8752 static power is too high when in foce pwm mode,
change it's mode to auto.

Change-Id: I6b1342cc8b63d240d90194b52f5926501ea7babf
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
Elaine Zhang
2016-07-25 09:50:12 +08:00
committed by Gerrit Code Review
parent f3118da782
commit 4c4056953b

View File

@@ -260,10 +260,10 @@ static int lp8752_probe(struct i2c_client *client,
ret = regmap_update_bits(pchip->regmap,
LP8752_CTRL_BUCK0,
(1 << 0), 0x1);
(1 << 0), 0);
ret = regmap_update_bits(pchip->regmap,
LP8752_CTRL_BUCK2,
(1 << 0), 0x1);
(1 << 0), 0);
if (!pdata) {
pchip->pdata = devm_kzalloc(pchip->dev,