EHCI: fix remote wakeup regression in 2.6.21-rc
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 9 Apr 2007 15:52:31 +0000 (11:52 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Apr 2007 17:44:15 +0000 (10:44 -0700)
commit61e8b858abe38c1042135065c59f7d339194b50b
treedb0d72775394b25ed3e80b2ce423424cbfefa1ee
parent5ab7ffea520948115a51a9931e1bb4c818aa8e35
EHCI: fix remote wakeup regression in 2.6.21-rc

There is one significant difference between the behavior of root hubs
(as embodied in host controller hardware) and external hubs: When a
remote-wakeup signal is received, an external hub sends an interrupt
message at the _end_ of the resume sequence but a root hub generates
and interrupt at the _beginning_ of the resume sequence.  The host
system must poll for the end of the sequence.

When ehci-hcd was converted to interrupt-driven operation instead of
using polling, the remaining need for this particular poll was
overlooked.  This patch (as894) fixes the problem.

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