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

Commit 382b3a95 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: Fix unclocked access by rhub_poll in bus_suspend"

parents 85c590e2 bfc8f5bd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -617,6 +617,10 @@ ehci_hub_status_data (struct usb_hcd *hcd, char *buf)
	unsigned long	flags;
	u32		ppcd = ~0;

	/* hcd core tries to get status even during suspend, if so bail out. */
	if (ehci->rh_state != EHCI_RH_RUNNING)
		return 0;

	/* init status to no-changes */
	buf [0] = 0;
	ports = HCS_N_PORTS (ehci->hcs_params);