mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 14:23:49 +01:00
usb: host: xhci-plat: omit shared hcd if either root hub has no ports
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 <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
1 parent
e0fe986972
commit
4736ebd7fc
1 file changed
+2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user