Message ID | 4667c495-56d0-c53d-2c2d-3280e8a6ae13@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4736ebd7fcaff1eb8481c140ba494962847d6e0a |
Headers | show |
Series | usb: host: xhci-plat: omit shared hcd if either of the root hubs has no ports | expand |
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index c512ec214..044855818 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -245,6 +245,8 @@ static int xhci_plat_probe(struct platform_device *pdev) xhci = hcd_to_xhci(hcd); + xhci->allow_single_roothub = 1; + /* * Not all platforms have clks so it is not an error if the * clock do not exist.
Activate the just added extension for xhci-plat and omit the shared hcd if either of the root hubs has no ports. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> --- drivers/usb/host/xhci-plat.c | 2 ++ 1 file changed, 2 insertions(+)