]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: xhci-plat: prepare operation w/o shared hcd
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 11 May 2022 22:04:45 +0000 (01:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 May 2022 16:32:25 +0000 (18:32 +0200)
commitab2fe4a183d1ac18d9642ed86b974c681e5a7999
treefdd5cfcf5c886882426178f994253b6abae1177f
parent2738d5f3b25e83b48533894b17c75c953bb4e15b
usb: host: xhci-plat: prepare operation w/o shared hcd

This patch prepares xhci-plat for the following scenario
- If either of the root hubs has no ports, then omit shared hcd
- Main hcd can be USB3 if there are no USB2 ports

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20220511220450.85367-5-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c