diff options
author | David Brownell <david-b@pacbell.net> | 2005-08-31 19:45:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-12 21:23:43 +0200 |
commit | dd16525b698528172899f10c14a3eb6ddb888a53 (patch) | |
tree | 9257e66cc06b3c8c4578f0d6b335f5522d45d28c /drivers/usb | |
parent | [PATCH] USB: EHCI workaround for NForce and mem > 2GB (diff) | |
download | linux-dd16525b698528172899f10c14a3eb6ddb888a53.tar.xz linux-dd16525b698528172899f10c14a3eb6ddb888a53.zip |
[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, port1, status); else { status = hub_port_wait_reset(hub, port1, udev, delay); - if (status) + if (status && status != -ENOTCONN) dev_dbg(hub->intfdev, "port_wait_reset: err = %d\n", status); |