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

Commit 86fd01bb 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 da434ce3 3ecb4174
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2821,7 +2821,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",