Loading drivers/power/qpnp-smbcharger.c +1 −2 Original line number Diff line number Diff line Loading @@ -4538,8 +4538,7 @@ static int smbchg_change_usb_supply_type(struct smbchg_chip *chip, * and set type after the vote */ if (type == POWER_SUPPLY_TYPE_UNKNOWN) { rc = vote(chip->usb_icl_votable, PSY_ICL_VOTER, false, current_limit_ma); rc = vote(chip->usb_icl_votable, PSY_ICL_VOTER, true, 0); if (rc < 0) pr_err("Couldn't remove ICL vote rc=%d\n", rc); Loading Loading
drivers/power/qpnp-smbcharger.c +1 −2 Original line number Diff line number Diff line Loading @@ -4538,8 +4538,7 @@ static int smbchg_change_usb_supply_type(struct smbchg_chip *chip, * and set type after the vote */ if (type == POWER_SUPPLY_TYPE_UNKNOWN) { rc = vote(chip->usb_icl_votable, PSY_ICL_VOTER, false, current_limit_ma); rc = vote(chip->usb_icl_votable, PSY_ICL_VOTER, true, 0); if (rc < 0) pr_err("Couldn't remove ICL vote rc=%d\n", rc); Loading