projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef4f06
)
USB: log an error message when USB enumeration fails
author
Alan Stern
<stern@rowland.harvard.edu>
Thu, 10 Apr 2008 16:45:34 +0000
(12:45 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 25 Apr 2008 04:16:50 +0000
(21:16 -0700)
This patch (as1077) logs an error message whenever the kernel is
unable to enumerate a new USB device.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 9fc5179dfc60741e9659ec130db92b28f2740944..1e23e360ea91fec68a24aeda683ab1d8d19c0601 100644
(file)
--- 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);