]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
EHCI: add debugging message to ehci_bus_suspend
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 1 Feb 2007 21:09:59 +0000 (16:09 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:32:18 +0000 (15:32 -0800)
This patch (as848) adds a useful little debugging message to let us
know when ehci-hcd's bus_suspend method runs.  The other HCDs have
similar messages; now ehci-hcd doesn't need to feel left out.

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

index 0d83c6df1a3b2554272ed4680365cdfee09a4d4a..9af529d22b3e609ee8af02b5fa9fc5c03021f13a 100644 (file)
@@ -36,6 +36,8 @@ static int ehci_bus_suspend (struct usb_hcd *hcd)
        int                     port;
        int                     mask;
 
+       ehci_dbg(ehci, "suspend root hub\n");
+
        if (time_before (jiffies, ehci->next_statechange))
                msleep(5);