forked from luck/tmp_suning_uos_patched
EHCI: add debugging message to ehci_bus_suspend
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>
This commit is contained in:
parent
12f1ff8351
commit
8c774fe8a0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user