Merge "qpnp-fg-gen3: update the FCC unit while notifying charger"

This commit is contained in:
Linux Build Service Account 2016-10-22 00:02:22 -07:00 committed by Gerrit - the friendly Code Review server
commit a07e2a0fb6

View file

@ -1663,7 +1663,7 @@ static void fg_notify_charger(struct fg_chip *chip)
return;
}
prop.intval = chip->bp.fastchg_curr_ma;
prop.intval = chip->bp.fastchg_curr_ma * 1000;
rc = power_supply_set_property(chip->batt_psy,
POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX, &prop);
if (rc < 0) {