Skip to content

Commit

Permalink
Merge "usb: dwc3-msm: Fix maximum_speed determination"
Browse files Browse the repository at this point in the history
  • Loading branch information
qctecmdr authored and Gerrit - the friendly Code Review server committed Aug 1, 2019
2 parents 7aa0ac1 + 43f5ff9 commit 8849200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/dwc3-msm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2854,7 +2854,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",
Expand Down

0 comments on commit 8849200

Please sign in to comment.