diff --git a/drivers/power/supply/qcom/smb-lib.c b/drivers/power/supply/qcom/smb-lib.c index 7159b30419425..698da82c5e918 100644 --- a/drivers/power/supply/qcom/smb-lib.c +++ b/drivers/power/supply/qcom/smb-lib.c @@ -4852,8 +4852,8 @@ static void smblib_force_legacy_icl(struct smb_charger *chg, int pst) vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 3000000); break; default: - smblib_err(chg, "Unknown APSD %d; forcing 500mA\n", pst); - vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 500000); + smblib_err(chg, "Unknown APSD %d; forcing suspend\n", pst); + vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 0); break; } } @@ -5258,7 +5258,7 @@ static void smblib_handle_typec_removal(struct smb_charger *chg) cancel_delayed_work_sync(&chg->check_vbus_work); /* reset input current limit voters */ - vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 100000); + vote(chg->usb_icl_votable, LEGACY_UNKNOWN_VOTER, true, 0); vote(chg->usb_icl_votable, PD_VOTER, false, 0); vote(chg->usb_icl_votable, USB_PSY_VOTER, false, 0); vote(chg->usb_icl_votable, DCP_VOTER, false, 0);