summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-hcd.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2006-04-04 14:47:44 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-04-14 11:12:26 -0700
commit8e32640672bdcb01e0d83f087f09dd65fcbc3275 (patch)
tree8e65907cb076ae5598df469d120a8d4cece16800 /drivers/usb/host/uhci-hcd.h
parent01e89506351b84ac6f39eb70f99c71483768ca60 (diff)
downloadlinux-8e32640672bdcb01e0d83f087f09dd65fcbc3275.tar.gz
linux-8e32640672bdcb01e0d83f087f09dd65fcbc3275.tar.bz2
linux-8e32640672bdcb01e0d83f087f09dd65fcbc3275.zip
[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>
Diffstat (limited to 'drivers/usb/host/uhci-hcd.h')
-rw-r--r--drivers/usb/host/uhci-hcd.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-hcd.h b/drivers/usb/host/uhci-hcd.h
index 4a69c7eb09bd..d5c8f4d92823 100644
--- a/drivers/usb/host/uhci-hcd.h
+++ b/drivers/usb/host/uhci-hcd.h
@@ -415,7 +415,6 @@ struct uhci_hcd {
/* Support for port suspend/resume/reset */
unsigned long port_c_suspend; /* Bit-arrays of ports */
- unsigned long suspended_ports;
unsigned long resuming_ports;
unsigned long ports_timeout; /* Time to stop signalling */