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

Commit 359055c8 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: Flush sm_work with dwc3_restart_usb_host_mode() API"

parents 0ddef09c 8a5cba8b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3911,6 +3911,8 @@ static int dwc3_restart_usb_host_mode(struct notifier_block *nb,
	if (dwc->maximum_speed == usb_speed)
		goto err;

	dbg_event(0xFF, "fw_restarthost", 0);
	flush_delayed_work(&mdwc->sm_work);
	dbg_event(0xFF, "stop_host_mode", dwc->maximum_speed);
	ret = dwc3_otg_start_host(mdwc, 0);
	if (ret)