Skip to contentSkip to conversation

usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS

PATCH Ben Hutchings 1 participant 1 message Jan 29, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Now that usbip supports USB3, the maximum number of ports allowed on a hub is 15 (USB_SS_MAXPORTS), not 31 (USB_MAXCHILDREN).

References: https://bugs.debian.org/878866

Fixes 1c9de5bf4286 ("usbip: vhci-hcd: Add USB3 SuperSpeed support")
---
 drivers/usb/usbip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/usbip/Kconfig +1 -1
index eeefa29f8aa2..a20b65cb6678 100644
@@ -27,7 +27,7 @@ config USBIP_VHCI_HCD
 
 config USBIP_VHCI_HC_PORTS
 	int "Number of ports per USB/IP virtual host controller"
-	range 1 31
+	range 1 15
 	default 8
 	depends on USBIP_VHCI_HCD
 	---help---