summaryrefslogtreecommitdiff
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-01-22 21:08:53 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-07 23:44:39 (GMT)
commit629e4427aa817d5c9f11885420abf54b8f5967dc (patch)
tree33c5a88751c5934df34252998a562fa757451b14 /drivers/usb/storage
parent1d619f128ba911cd3e6d6ad3475f146eb92f5c27 (diff)
downloadlinux-fsl-qoriq-629e4427aa817d5c9f11885420abf54b8f5967dc.tar.xz
EHCI: fix interrupt-driven remote wakeup
Now that port status change notifications are interrupt-driven, ehci-hcd needs to tell usbcore when a remote-wakeup resume operation is finished -- we can no longer rely on the core to poll and find out. This patch (as843) uses the root-hub status timer to force a poll after the resume is complete. The patch also changes the test for detecting when the TDRSMDN resume period has expired. It's necessary to use time_after_eq() instead of time_after(), since the polling is triggered precisely by a timer. The same change is made for TDRSTR reset expiration, for consistency. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions