Re: [PATCH v4 1/3] usb: core: hcd: Add support for deferring roothub registration
From: Alan Stern <stern@rowland.harvard.edu>
Date: 2021-09-09 14:31:48
Also in:
lkml
From: Alan Stern <stern@rowland.harvard.edu>
Date: 2021-09-09 14:31:48
Also in:
lkml
On Thu, Sep 09, 2021 at 12:11:58PM +0530, Kishon Vijay Abraham I wrote:
It has been observed with certain PCIe USB cards (like Inateck connected to AM64 EVM or J7200 EVM) that as soon as the primary roothub is registered, port status change is handled even before xHC is running leading to cold plug USB devices not detected. For such cases, registering both the root hubs along with the second HCD is required. Add support for deferring roothub registration in usb_add_hcd(), so that both primary and secondary roothubs are registered along with the second HCD. CC: stable@vger.kernel.org # 5.4+ Signed-off-by: Kishon Vijay Abraham I <redacted> Suggested-by: Mathias Nyman <redacted> Tested-by: Chris Chiu <redacted> ---
Acked-by: Alan Stern <stern@rowland.harvard.edu>