Commit 4736ebd7 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Greg Kroah-Hartman

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: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20220511220450.85367-6-mathias.nyman@linux.intel.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e0fe9869
...@@ -245,6 +245,8 @@ static int xhci_plat_probe(struct platform_device *pdev) ...@@ -245,6 +245,8 @@ static int xhci_plat_probe(struct platform_device *pdev)
xhci = hcd_to_xhci(hcd); xhci = hcd_to_xhci(hcd);
xhci->allow_single_roothub = 1;
/* /*
* Not all platforms have clks so it is not an error if the * Not all platforms have clks so it is not an error if the
* clock do not exist. * clock do not exist.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment