Revert "Revert "xhci: Set HCD flag to defer primary roothub registration""

This reverts commit 049849492b.

Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Sasha Levin 2023-01-26 09:21:24 -05:00 committed by Greg Kroah-Hartman
parent 8eb5a68064
commit e588a5872d

View File

@ -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");