From: Elaine Zhang Date: Mon, 25 Jul 2016 01:50:12 +0000 (+0800) Subject: regulator: lp8752: set dcdc mode as auto mode X-Git-Tag: firefly_0821_release~2097 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4c4056953b4369742d052d01e9f4e20334fa0d68;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/drivers/regulator/lp8752.c b/drivers/regulator/lp8752.c index 0062dee31a59..ea06d755f44d 100644 --- a/drivers/regulator/lp8752.c +++ b/drivers/regulator/lp8752.c @@ -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,