diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-04-10 12:45:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-24 21:16:50 -0700 |
commit | 6427f7995338387ddded92f98adec19ddbf0ae5e (patch) | |
tree | 8ff63488c2449b78b735a07e74a0fc3866bfe539 /drivers/usb | |
parent | 7ef4f0600df3dc2beff838b3f03652677ed28311 (diff) | |
download | linux-6427f7995338387ddded92f98adec19ddbf0ae5e.tar.gz linux-6427f7995338387ddded92f98adec19ddbf0ae5e.tar.bz2 linux-6427f7995338387ddded92f98adec19ddbf0ae5e.zip |
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 <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-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 9fc5179dfc60..1e23e360ea91 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); |