aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-hub.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
index 6b5e4d18d4bf..1b6f1c0e5cee 100644
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
@@ -235,6 +235,13 @@ static int ehci_bus_resume (struct usb_hcd *hcd)
235 return -ESHUTDOWN; 235 return -ESHUTDOWN;
236 } 236 }
237 237
238 if (unlikely(ehci->debug)) {
239 if (ehci->debug && !dbgp_reset_prep())
240 ehci->debug = NULL;
241 else
242 dbgp_external_startup();
243 }
244
238 /* Ideally and we've got a real resume here, and no port's power 245 /* Ideally and we've got a real resume here, and no port's power
239 * was lost. (For PCI, that means Vaux was maintained.) But we 246 * was lost. (For PCI, that means Vaux was maintained.) But we
240 * could instead be restoring a swsusp snapshot -- so that BIOS was 247 * could instead be restoring a swsusp snapshot -- so that BIOS was