aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index b05c6865b610..6bf6c42481e8 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -228,7 +228,7 @@ static int ehci_reset (struct ehci_hcd *ehci)
228 228
229 /* If the EHCI debug controller is active, special care must be 229 /* If the EHCI debug controller is active, special care must be
230 * taken before and after a host controller reset */ 230 * taken before and after a host controller reset */
231 if (ehci->debug && !dbgp_reset_prep()) 231 if (ehci->debug && !dbgp_reset_prep(ehci_to_hcd(ehci)))
232 ehci->debug = NULL; 232 ehci->debug = NULL;
233 233
234 command |= CMD_RESET; 234 command |= CMD_RESET;
@@ -251,7 +251,7 @@ static int ehci_reset (struct ehci_hcd *ehci)
251 tdi_reset (ehci); 251 tdi_reset (ehci);
252 252
253 if (ehci->debug) 253 if (ehci->debug)
254 dbgp_external_startup(); 254 dbgp_external_startup(ehci_to_hcd(ehci));
255 255
256 ehci->port_c_suspend = ehci->suspended_ports = 256 ehci->port_c_suspend = ehci->suspended_ports =
257 ehci->resuming_ports = 0; 257 ehci->resuming_ports = 0;