[PATCH] USB: UHCI: don't track suspended ports
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 4 Apr 2006 18:47:44 +0000 (14:47 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Apr 2006 18:12:26 +0000 (11:12 -0700)
commit8e32640672bdcb01e0d83f087f09dd65fcbc3275
tree8e65907cb076ae5598df469d120a8d4cece16800
parent01e89506351b84ac6f39eb70f99c71483768ca60
[PATCH] USB: UHCI: don't track suspended ports

Someone recently posted a bug report where it turned out that uhci-hcd
was disagreeing with the UHCI controller over whether or not a port was
suspended: The driver thought it wasn't and the hardware thought it was.
This patch (as665) fixes the problem and simplifies the driver by
removing the internal state-tracking completely.  Now the driver just
asks the hardware whether a port is suspended.

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