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

Commit 860d57c5 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "xhci: Fix NULL pointer dereference with xhci_irq() for shared_hcd"

parents 824b953e ca23713d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -727,8 +727,6 @@ static void xhci_stop(struct usb_hcd *hcd)

	/* Only halt host and free memory after both hcds are removed */
	if (!usb_hcd_is_primary_hcd(hcd)) {
		/* usb core will free this hcd shortly, unset pointer */
		xhci->shared_hcd = NULL;
		mutex_unlock(&xhci->mutex);
		return;
	}