Loading drivers/power/supply/qcom/smb-lib.c +4 −0 Original line number Diff line number Diff line Loading @@ -2761,6 +2761,10 @@ static int smblib_handle_usb_current(struct smb_charger *chg, if (rc < 0) return rc; } } else if (chg->real_charger_type == POWER_SUPPLY_TYPE_USB && usb_current == -ETIMEDOUT) { rc = vote(chg->usb_icl_votable, USB_PSY_VOTER, true, USBIN_100MA); } else { rc = vote(chg->usb_icl_votable, USB_PSY_VOTER, true, usb_current); Loading Loading
drivers/power/supply/qcom/smb-lib.c +4 −0 Original line number Diff line number Diff line Loading @@ -2761,6 +2761,10 @@ static int smblib_handle_usb_current(struct smb_charger *chg, if (rc < 0) return rc; } } else if (chg->real_charger_type == POWER_SUPPLY_TYPE_USB && usb_current == -ETIMEDOUT) { rc = vote(chg->usb_icl_votable, USB_PSY_VOTER, true, USBIN_100MA); } else { rc = vote(chg->usb_icl_votable, USB_PSY_VOTER, true, usb_current); Loading