[PATCH] updates for "controller suspended" handling
authorDavid Brownell <david-b@pacbell.net>
Tue, 27 Sep 2005 17:38:54 +0000 (10:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:41 +0000 (16:47 -0700)
commitb13296c6617f22e8c0174a7af32780617db0e680
tree980ed483e5df92335894405ac7eb37380598190d
parent5edbfb7c8af0577097dae87cdd4dfdba82bb9579
[PATCH] updates for "controller suspended" handling

Reject URBs to _all_ devices when their host controllers are suspended;
even root hub registers will be unavailable.  Also, don't reject urbs
to root hubs in other cases; the only upstream link is through that
controller (on PCI or whatever SOC bus is in use).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/usb/core/hcd.c |   28 ++++++++++++----------------
 drivers/usb/core/urb.c |    3 ++-
 2 files changed, 14 insertions(+), 17 deletions(-)
drivers/usb/core/hcd.c
drivers/usb/core/urb.c