Loading drivers/power/supply/qcom/smb-lib.c +1 −0 Original line number Diff line number Diff line Loading @@ -2888,6 +2888,7 @@ static int __smblib_set_prop_pd_active(struct smb_charger *chg, bool pd_active) chg->pd_active = pd_active; if (chg->pd_active) { chg->real_charger_type = POWER_SUPPLY_TYPE_USB_PD; vote(chg->apsd_disable_votable, PD_VOTER, true, 0); vote(chg->pd_allowed_votable, PD_VOTER, true, 0); vote(chg->usb_irq_enable_votable, PD_VOTER, true, 0); Loading Loading
drivers/power/supply/qcom/smb-lib.c +1 −0 Original line number Diff line number Diff line Loading @@ -2888,6 +2888,7 @@ static int __smblib_set_prop_pd_active(struct smb_charger *chg, bool pd_active) chg->pd_active = pd_active; if (chg->pd_active) { chg->real_charger_type = POWER_SUPPLY_TYPE_USB_PD; vote(chg->apsd_disable_votable, PD_VOTER, true, 0); vote(chg->pd_allowed_votable, PD_VOTER, true, 0); vote(chg->usb_irq_enable_votable, PD_VOTER, true, 0); Loading