Loading drivers/power/supply/qcom/smb5-lib.c +2 −1 Original line number Diff line number Diff line Loading @@ -2262,7 +2262,8 @@ int smblib_get_prop_batt_health(struct smb_charger *chg, * If Vbatt is within 40mV above Vfloat, then don't * treat it as overvoltage. */ effective_fv_uv = get_effective_result(chg->fv_votable); effective_fv_uv = get_effective_result_locked( chg->fv_votable); if (pval.intval >= effective_fv_uv + 40000) { val->intval = POWER_SUPPLY_HEALTH_OVERVOLTAGE; smblib_err(chg, "battery over-voltage vbat_fg = %duV, fv = %duV\n", Loading Loading
drivers/power/supply/qcom/smb5-lib.c +2 −1 Original line number Diff line number Diff line Loading @@ -2262,7 +2262,8 @@ int smblib_get_prop_batt_health(struct smb_charger *chg, * If Vbatt is within 40mV above Vfloat, then don't * treat it as overvoltage. */ effective_fv_uv = get_effective_result(chg->fv_votable); effective_fv_uv = get_effective_result_locked( chg->fv_votable); if (pval.intval >= effective_fv_uv + 40000) { val->intval = POWER_SUPPLY_HEALTH_OVERVOLTAGE; smblib_err(chg, "battery over-voltage vbat_fg = %duV, fv = %duV\n", Loading