X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fusb_hub.c;h=e4a120120dc23d068686d0e69e6d8248f9b35308;hb=d5fe220df4afb7dda1aeeced3635f7f745723685;hp=32750e8d050bf3a8cde05f6df0a6a3f9fb891057;hpb=b3873d3f4c424e6563750bb517fac03c2e833cdc;p=oweals%2Fu-boot.git diff --git a/common/usb_hub.c b/common/usb_hub.c index 32750e8d05..e4a120120d 100644 --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -244,7 +244,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port) mdelay(200); /* Allocate a new device struct for it */ - usb = usb_alloc_new_device(); + usb = usb_alloc_new_device(dev->controller); if (portstatus & USB_PORT_STAT_HIGH_SPEED) usb->speed = USB_SPEED_HIGH;