diff options
author | David Brownell <david-b@pacbell.net> | 2005-08-31 13:45:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-12 15:23:43 -0400 |
commit | dd16525b698528172899f10c14a3eb6ddb888a53 (patch) | |
tree | 9257e66cc06b3c8c4578f0d6b335f5522d45d28c /drivers/usb | |
parent | f7201c3dcd7799f2aa3d6ec427b194225360ecee (diff) |
[PATCH] USB: get rid of minor log spamming
Routine cases like handoff-to-companion shouldn't trigger diagnostics.
This gets rid of some recently added log spamming. It's routine for
hub_port_wait_reset() to return -ENOTCONN to indicate handoff from
highspeed hubs to companions, so an error message is incorrect.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 758c7f0ed159..c55208299cf8 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -1460,7 +1460,7 @@ static int hub_port_reset(struct usb_hub *hub, int port1, | |||
1460 | port1, status); | 1460 | port1, status); |
1461 | else { | 1461 | else { |
1462 | status = hub_port_wait_reset(hub, port1, udev, delay); | 1462 | status = hub_port_wait_reset(hub, port1, udev, delay); |
1463 | if (status) | 1463 | if (status && status != -ENOTCONN) |
1464 | dev_dbg(hub->intfdev, | 1464 | dev_dbg(hub->intfdev, |
1465 | "port_wait_reset: err = %d\n", | 1465 | "port_wait_reset: err = %d\n", |
1466 | status); | 1466 | status); |