Loading drivers/power/supply/qcom/smblite-lib.c +5 −4 Original line number Diff line number Diff line Loading @@ -3000,9 +3000,6 @@ static void smblite_lib_thermal_regulation_work(struct work_struct *work) /* check if DIE_TEMP is below LB */ if (!(stat & DIE_TEMP_MASK)) { icl_ua += THERM_REGULATION_STEP_UA; vote(chg->usb_icl_votable, SW_THERM_REGULATION_VOTER, true, icl_ua); /* * Check if we need further increments: Loading @@ -3011,9 +3008,13 @@ static void smblite_lib_thermal_regulation_work(struct work_struct *work) * ICL then remove vote and exit work. */ if (!strcmp(get_effective_client(chg->usb_icl_votable), SW_THERM_REGULATION_VOTER)) SW_THERM_REGULATION_VOTER)) { icl_ua += THERM_REGULATION_STEP_UA; vote(chg->usb_icl_votable, SW_THERM_REGULATION_VOTER, true, icl_ua); goto reschedule; } } exit: smblite_lib_dbg(chg, PR_MISC, Loading Loading
drivers/power/supply/qcom/smblite-lib.c +5 −4 Original line number Diff line number Diff line Loading @@ -3000,9 +3000,6 @@ static void smblite_lib_thermal_regulation_work(struct work_struct *work) /* check if DIE_TEMP is below LB */ if (!(stat & DIE_TEMP_MASK)) { icl_ua += THERM_REGULATION_STEP_UA; vote(chg->usb_icl_votable, SW_THERM_REGULATION_VOTER, true, icl_ua); /* * Check if we need further increments: Loading @@ -3011,9 +3008,13 @@ static void smblite_lib_thermal_regulation_work(struct work_struct *work) * ICL then remove vote and exit work. */ if (!strcmp(get_effective_client(chg->usb_icl_votable), SW_THERM_REGULATION_VOTER)) SW_THERM_REGULATION_VOTER)) { icl_ua += THERM_REGULATION_STEP_UA; vote(chg->usb_icl_votable, SW_THERM_REGULATION_VOTER, true, icl_ua); goto reschedule; } } exit: smblite_lib_dbg(chg, PR_MISC, Loading