mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
charging: avoid icl =100ma for 33w charger
When battery capacity > 90%, inserted 33w charger, main charger icl config 100ma and CP don't enable. So charging slow. avoid icl config 100ma when detect 33W charger. Change-Id: If450fcabc1a18bc01c5a03bd7e9ff8176f5d338f Signed-off-by: mahj8 <mahj8@motorola.com> Reviewed-on: https://gerrit.mot.com/2174425 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
9371756881
commit
774a63cfbf
1 changed files with 2 additions and 1 deletions
|
|
@ -1855,7 +1855,8 @@ static void update_sw_icl_max(struct mmi_discrete_charger *chg)
|
|||
* HVDCP 2/3, handled separately
|
||||
*/
|
||||
if (chg->real_charger_type == POWER_SUPPLY_TYPE_USB_HVDCP
|
||||
|| chg->real_charger_type == POWER_SUPPLY_TYPE_USB_HVDCP_3)
|
||||
|| chg->real_charger_type == POWER_SUPPLY_TYPE_USB_HVDCP_3
|
||||
|| chg->real_charger_type == POWER_SUPPLY_TYPE_USB_HVDCP_3P5)
|
||||
return;
|
||||
|
||||
/* TypeC rp med or high, use rp value */
|
||||
|
|
|
|||
Loading…
Reference in a new issue