Explorar o código

USB: Set portnr so USB1.1 and 1.0 devices work on EHCI controllers

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Marek Vasut %!s(int64=14) %!d(string=hai) anos
pai
achega
01a97d45d1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      common/usb.c

+ 1 - 0
common/usb.c

@@ -1166,6 +1166,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
 
 	dev->children[port] = usb;
 	usb->parent = dev;
+	usb->portnr = port + 1;
 	/* Run it through the hoops (find a driver, etc) */
 	if (usb_new_device(usb)) {
 		/* Woops, disable the port */