[PATCH] USB UHCI: Add root hub states
authorAlan Stern <stern@rowland.harvard.edu>
Sat, 9 Apr 2005 21:27:32 +0000 (17:27 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:43 +0000 (14:43 -0700)
commitc8f4fe4358c5e0a79b4bd47b814d19f1d1d06f21
tree0c12fec97ac524e77489d3e8460bd9bb4817c0d5
parentf5946f8220a866dcdb8edc6abe23c1443e252425
[PATCH] USB UHCI: Add root hub states

This patch starts making some serious changes to the UHCI driver.
There's a set of private states for the root hub, and the internal
routines for suspending and resuming work completely differently, with
transitions based on the new states.  Now the driver distinguishes
between a privately auto-stopped state and a publicly suspended state,
and it will properly suspend controllers with broken resume-detect
interrupts instead of resetting them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-debug.c
drivers/usb/host/uhci-hcd.c
drivers/usb/host/uhci-hcd.h
drivers/usb/host/uhci-hub.c