diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-05-20 16:58:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-29 16:59:03 -0400 |
commit | 3a31155cfff0935e4b178f3dca733d2d60d2eb8d (patch) | |
tree | d862628b222cd28232fcc5452e4d88919a45b3fd /drivers/usb/host/ehci-orion.c | |
parent | a8e5177583e975fc1f7c621c93956f494df9b979 (diff) |
USB: EHCI: suppress unwanted error messages
This patch (as1096) fixes an annoying problem: When a full-speed or
low-speed device is plugged into an EHCI controller, it fails to
enumerate at high speed and then is handed over to the companion
controller. But usbcore logs a misleading and unwanted error message
when the high-speed enumeration fails.
The patch adds a new HCD method, port_handed_over, which asks whether
a port has been handed over to a companion controller. If it has, the
error message is suppressed.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-orion.c')
-rw-r--r-- | drivers/usb/host/ehci-orion.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 9c5266d02d6c..ab625f0ba1d9 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c | |||
@@ -162,6 +162,7 @@ static const struct hc_driver ehci_orion_hc_driver = { | |||
162 | .bus_suspend = ehci_bus_suspend, | 162 | .bus_suspend = ehci_bus_suspend, |
163 | .bus_resume = ehci_bus_resume, | 163 | .bus_resume = ehci_bus_resume, |
164 | .relinquish_port = ehci_relinquish_port, | 164 | .relinquish_port = ehci_relinquish_port, |
165 | .port_handed_over = ehci_port_handed_over, | ||
165 | }; | 166 | }; |
166 | 167 | ||
167 | static void __init | 168 | static void __init |