From b973c6aeaa711d003dde6eec2894e9a9b54fd202 Mon Sep 17 00:00:00 2001 From: Sasha Levin Date: Thu, 26 Jan 2023 09:21:24 -0500 Subject: [PATCH] Revert "Revert "xhci: Set HCD flag to defer primary roothub registration"" This reverts commit e58ff4707f0abddf1b3e4a309e6b2350a0069214. Signed-off-by: Sasha Levin --- drivers/usb/host/xhci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 35d96796854d6..b8915790a20af 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -693,6 +693,7 @@ int xhci_run(struct usb_hcd *hcd) if (ret) xhci_free_command(xhci, command); } + set_bit(HCD_FLAG_DEFER_RH_REGISTER, &hcd->flags); xhci_dbg_trace(xhci, trace_xhci_dbg_init, "Finished xhci_run for USB2 roothub"); -- 2.39.5