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

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

Merge "dwc3-msm: Don't override USB speed with EUD based spoof connect/detach"

parents 43d0af5f 25d0286a
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -2857,8 +2857,7 @@ static int dwc3_msm_vbus_notifier(struct notifier_block *nb,
}

/*
 * Handle EUD based soft detach/attach event, and force USB high speed mode
 * functionality on receiving soft attach event.
 * Handle EUD based soft detach/attach event
 *
 * @nb - notifier handler
 * @event - event information i.e. soft detach/attach event
@@ -2877,9 +2876,6 @@ static int dwc3_msm_eud_notifier(struct notifier_block *nb,
	if (mdwc->vbus_active == event)
		return NOTIFY_DONE;

	/* Force USB High-Speed enumeration Only */
	dwc->maximum_speed = USB_SPEED_HIGH;
	dbg_event(0xFF, "Speed", dwc->maximum_speed);
	mdwc->vbus_active = event;
	if (dwc->is_drd && !mdwc->in_restart)
		queue_work(mdwc->dwc3_wq, &mdwc->resume_work);