Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df3d8915 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb5-lib: set DCP ICL based on Rp value"

parents 89a51c29 3f78593b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5127,8 +5127,8 @@ static void update_sw_icl_max(struct smb_charger *chg, int pst)
					CDP_CURRENT_UA);
		break;
	case POWER_SUPPLY_TYPE_USB_DCP:
		vote(chg->usb_icl_votable, SW_ICL_MAX_VOTER, true,
					DCP_CURRENT_UA);
		rp_ua = get_rp_based_dcp_current(chg, typec_mode);
		vote(chg->usb_icl_votable, SW_ICL_MAX_VOTER, true, rp_ua);
		break;
	case POWER_SUPPLY_TYPE_USB_FLOAT:
		/*