diff options
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/hub.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 519f2c3594b2..69687de9de67 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -4111,8 +4111,12 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, | |||
4111 | 4111 | ||
4112 | did_new_scheme = true; | 4112 | did_new_scheme = true; |
4113 | retval = hub_enable_device(udev); | 4113 | retval = hub_enable_device(udev); |
4114 | if (retval < 0) | 4114 | if (retval < 0) { |
4115 | dev_err(&udev->dev, | ||
4116 | "hub failed to enable device, error %d\n", | ||
4117 | retval); | ||
4115 | goto fail; | 4118 | goto fail; |
4119 | } | ||
4116 | 4120 | ||
4117 | #define GET_DESCRIPTOR_BUFSIZE 64 | 4121 | #define GET_DESCRIPTOR_BUFSIZE 64 |
4118 | buf = kmalloc(GET_DESCRIPTOR_BUFSIZE, GFP_NOIO); | 4122 | buf = kmalloc(GET_DESCRIPTOR_BUFSIZE, GFP_NOIO); |