From: Alan Stern Date: Mon, 22 Jan 2007 21:08:53 +0000 (-0500) Subject: EHCI: fix interrupt-driven remote wakeup X-Git-Tag: v2.6.21-rc1~92^2~29^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=629e4427aa817d5c9f11885420abf54b8f5967dc;p=pandora-kernel.git 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 Cc: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed