mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-10 23:18:10 +09:00
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:
committed by
Gerrit Code Review
parent
f3118da782
commit
4c4056953b
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user