Commit:     61e8b858abe38c1042135065c59f7d339194b50b
Parent:     5ab7ffea520948115a51a9931e1bb4c818aa8e35
Author:     Alan Stern <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 9 11:52:31 2007 -0400
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Wed Apr 11 10:44:15 2007 -0700

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/host/ehci-hcd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index a740564..c7458f7 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -669,6 +669,7 @@ static irqreturn_t ehci_irq (struct usb_hcd *hcd)
                        ehci->reset_done [i] = jiffies + msecs_to_jiffies (20);
                        ehci_dbg (ehci, "port %d remote wakeup\n", i + 1);
+                       mod_timer(&hcd->rh_timer, ehci->reset_done[i]);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to