Merge "qpnp-fg-gen3: update the FCC unit while notifying charger"
This commit is contained in:
commit
a07e2a0fb6
1 changed files with 1 additions and 1 deletions
|
@ -1663,7 +1663,7 @@ static void fg_notify_charger(struct fg_chip *chip)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
prop.intval = chip->bp.fastchg_curr_ma;
|
prop.intval = chip->bp.fastchg_curr_ma * 1000;
|
||||||
rc = power_supply_set_property(chip->batt_psy,
|
rc = power_supply_set_property(chip->batt_psy,
|
||||||
POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX, &prop);
|
POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX, &prop);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue