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

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

Merge "usb: ehci-hcd: Fix ehci shutdown unclocked register access"

parents f5e2e0bc 26b053be
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -377,6 +377,9 @@ static void ehci_shutdown(struct usb_hcd *hcd)
	if (!ehci->sbrn)
		return;

	if (!HCD_HW_ACCESSIBLE(hcd))
		return;

	spin_lock_irq(&ehci->lock);
	ehci->shutdown = true;
	ehci->rh_state = EHCI_RH_STOPPING;