Alan Stern cfa59dab27 USB: Don't resume root hub if the controller is suspended
Root hubs can't be resumed if their parent controller device is still
suspended.  This patch (as925) adds a check for that condition in
hcd_bus_resume() and prevents it from being treated as a fatal
controller failure.

ehci-hcd is updated to add the corresponding test.  Unnecessary
debugging messages are removed from uhci-hcd and dummy-hcd.  The
error return code from dummy-hcd is changed to -ESHUTDOWN, the same as
the others.  ohci-hcd doesn't need any changes.

Suspend handling in the non-PCI host drivers is somewhat hit-and-miss.
This patch shouldn't have any effect on them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-12 16:34:39 -07:00
..
2007-07-12 16:34:30 -07:00
2007-07-12 16:29:47 -07:00
2007-07-12 16:29:47 -07:00
2007-07-12 16:34:30 -07:00
2007-07-12 16:34:30 -07:00
2007-07-12 16:34:29 -07:00
2007-07-12 16:34:29 -07:00
2007-07-12 16:34:29 -07:00
2007-07-12 16:34:30 -07:00
2007-07-12 16:34:29 -07:00
2007-03-09 19:52:23 -08:00
2007-04-27 13:28:36 -07:00