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

Commit f26a02ec authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: composite: Fix reporting MaxPower as 0xFA instead of 0x70" into msm-4.14

parents 08d4c1a6 765110d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -546,6 +546,7 @@ static u8 encode_bMaxPower(enum usb_device_speed speed,
		return 0;
	switch (speed) {
	case USB_SPEED_SUPER:
	case USB_SPEED_SUPER_PLUS:
		return (u8)(val / 8);
	default:
		/* only SuperSpeed and faster support > 500mA */