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

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

Merge "usb: dwc3-msm: Fix maximum_speed determination"

parents bc52f3d5 70313ed3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2879,7 +2879,7 @@ static void dwc3_resume_work(struct work_struct *w)
			dwc->maximum_speed = USB_SPEED_HIGH;

		if (mdwc->override_usb_speed &&
				mdwc->override_usb_speed < dwc->maximum_speed) {
			mdwc->override_usb_speed <= dwc->maximum_speed) {
			dwc->maximum_speed = mdwc->override_usb_speed;
			dwc->gadget.max_speed = dwc->maximum_speed;
			dbg_event(0xFF, "override_speed",