Skip to content

Commit

Permalink
EHCI: add debugging message to ehci_bus_suspend
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Feb 16, 2007
1 parent 12f1ff8 commit 8c774fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/host/ehci-hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 8c774fe

Please sign in to comment.