diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-04-25 20:05:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-01 14:44:31 -0700 |
commit | f8ca3fefa9367f2080e6bb6ad293a9376e837be4 (patch) | |
tree | 8fb4fea5fe54c2b25452f8a1284f9c407fe516a0 | |
parent | 4b119e21d0c66c22e8ca03df05d9de623d0eb50f (diff) | |
download | lwn-f8ca3fefa9367f2080e6bb6ad293a9376e837be4.tar.gz lwn-f8ca3fefa9367f2080e6bb6ad293a9376e837be4.zip |
USB: log an error message when USB enumeration fails
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>
-rw-r--r-- | drivers/usb/core/hub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 68fc5219ca15..7f1bc9701192 100644 --- 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); |