|
@@ -512,9 +512,10 @@ void xhci_stop(struct usb_hcd *hcd)
|
|
spin_lock_irq(&xhci->lock);
|
|
spin_lock_irq(&xhci->lock);
|
|
xhci_halt(xhci);
|
|
xhci_halt(xhci);
|
|
xhci_reset(xhci);
|
|
xhci_reset(xhci);
|
|
- xhci_cleanup_msix(xhci);
|
|
|
|
spin_unlock_irq(&xhci->lock);
|
|
spin_unlock_irq(&xhci->lock);
|
|
|
|
|
|
|
|
+ xhci_cleanup_msix(xhci);
|
|
|
|
+
|
|
#ifdef CONFIG_USB_XHCI_HCD_DEBUGGING
|
|
#ifdef CONFIG_USB_XHCI_HCD_DEBUGGING
|
|
/* Tell the event ring poll function not to reschedule */
|
|
/* Tell the event ring poll function not to reschedule */
|
|
xhci->zombie = 1;
|
|
xhci->zombie = 1;
|
|
@@ -548,9 +549,10 @@ void xhci_shutdown(struct usb_hcd *hcd)
|
|
|
|
|
|
spin_lock_irq(&xhci->lock);
|
|
spin_lock_irq(&xhci->lock);
|
|
xhci_halt(xhci);
|
|
xhci_halt(xhci);
|
|
- xhci_cleanup_msix(xhci);
|
|
|
|
spin_unlock_irq(&xhci->lock);
|
|
spin_unlock_irq(&xhci->lock);
|
|
|
|
|
|
|
|
+ xhci_cleanup_msix(xhci);
|
|
|
|
+
|
|
xhci_dbg(xhci, "xhci_shutdown completed - status = %x\n",
|
|
xhci_dbg(xhci, "xhci_shutdown completed - status = %x\n",
|
|
xhci_readl(xhci, &xhci->op_regs->status));
|
|
xhci_readl(xhci, &xhci->op_regs->status));
|
|
}
|
|
}
|