diff --git a/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c b/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c index 67c7edaa9978..2511ae1d58a6 100644 --- a/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c +++ b/drivers/power/qpnp-smbcharger-mmi/qpnp-smbcharger-mmi.c @@ -2956,11 +2956,9 @@ static void mmi_heartbeat_work(struct work_struct *work) mmi_info(chip, "APSD = %d, rerun_apsd_count = %d\n", apsd, rerun_apsd_count); } - } else if (rerun_apsd_count && !chg_stat.charger_present) { + } else if (rerun_apsd_count) { rerun_apsd_count = 0; cancel_delayed_work(&chip->charger_check_work); - mmi_info(chip, "reset rerun_apsd_count = %d\n", - rerun_apsd_count); } mmi_chrg_rate_check(chip);