From: Greg Kroah-Hartman Date: Wed, 3 Nov 2021 15:51:12 +0000 (+0100) Subject: Revert "xhci: Set HCD flag to defer primary roothub registration" X-Git-Tag: baikal/aarch64/sdk5.9~6342 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=e58ff4707f0abddf1b3e4a309e6b2350a0069214;p=kernel.git Revert "xhci: Set HCD flag to defer primary roothub registration" This reverts commit 7dd8be6478583a8ea4a17a24967dafd63c651eed which is commit b7a0a792f864583207c593b50fd1b752ed89f4c1 upstream. It has been reported to be causing problems in Arch and Fedora bug reports. Reported-by: Hans de Goede Link: https://bbs.archlinux.org/viewtopic.php?pid=2000956#p2000956 Link: https://bugzilla.redhat.com/show_bug.cgi?id=2019542 Link: https://bugzilla.redhat.com/show_bug.cgi?id=2019576 Link: https://lore.kernel.org/r/42bcbea6-5eb8-16c7-336a-2cb72e71bc36@redhat.com Cc: Mathias Nyman Cc: Chris Chiu Cc: Alan Stern Cc: Kishon Vijay Abraham I Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 4ef7484dff8b2..4bb850370bb6b 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -693,7 +693,6 @@ 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");