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

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

Merge "xhci: plat: Fix xhci_plat shutdown hung"

parents 5107b185 a7a5307e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -763,6 +763,10 @@ void xhci_shutdown(struct usb_hcd *hcd)
		usb_disable_xhci_ports(to_pci_dev(hcd->self.controller));

	spin_lock_irq(&xhci->lock);
	if (!HCD_HW_ACCESSIBLE(hcd)) {
		spin_unlock_irq(&xhci->lock);
		return;
	}
	xhci_halt(xhci);
	/* Workaround for spurious wakeups at shutdown with HSW */
	if (xhci->quirks & XHCI_SPURIOUS_WAKEUP)