projects
/
wrapfs-3.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b119e2
)
USB: log an error message when USB enumeration fails
author
Alan Stern
<stern@rowland.harvard.edu>
Fri, 25 Apr 2008 20:05:44 +0000
(20:05 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 1 May 2008 21:44:31 +0000
(14:44 -0700)
commit:
6427f7995338387ddded92f98adec19ddbf0ae5e
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index 68fc5219ca152ae45144cd541f85ff0f0008a8d4..7f1bc9701192e88cfb33d30c81997e616048dd7c 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-2664,6
+2664,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);