From: Alan Stern Date: Thu, 10 Apr 2008 16:45:34 +0000 (-0400) Subject: USB: log an error message when USB enumeration fails X-Git-Tag: v2.6.26-rc1~1061^2~23 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6427f7995338387ddded92f98adec19ddbf0ae5e;p=linux-2.6-omap-h63xx.git USB: log an error message when USB enumeration fails This patch (as1077) logs an error message whenever the kernel is unable to enumerate a new USB device. Signed-off-by: Alan Stern Cc: stable Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 9fc5179dfc6..1e23e360ea9 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -2708,6 +2708,7 @@ loop: if ((status == -ENOTCONN) || (status == -ENOTSUPP)) break; } + dev_err(hub_dev, "unable to enumerate USB device on port %d\n", port1); done: hub_port_disable(hub, port1, 1);