]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] USB: ehci suspend must stop timer
authorDavid Brownell <david-b@pacbell.net>
Tue, 10 May 2005 00:23:51 +0000 (17:23 -0700)
committerGreg KH <gregkh@suse.de>
Tue, 17 May 2005 04:44:25 +0000 (21:44 -0700)
Force the EHCI watchdog timer off during suspend, in case for some
reason it was still running after the root hub suspended.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c

index 02fefab3501e78faceb9148da521f4d0142df32a..429330bc38de08f35b198a74d0fb190121bbc03c 100644 (file)
@@ -72,6 +72,7 @@ static int ehci_hub_suspend (struct usb_hcd *hcd)
        }
 
        /* turn off now-idle HC */
+       del_timer_sync (&ehci->watchdog);
        ehci_halt (ehci);
        hcd->state = HC_STATE_SUSPENDED;