aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 343f1047f5d..5e73386b389 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -427,7 +427,6 @@ int xhci_run(struct usb_hcd *hcd)
427 void (*doorbell)(struct xhci_hcd *) = NULL; 427 void (*doorbell)(struct xhci_hcd *) = NULL;
428 428
429 hcd->uses_new_polling = 1; 429 hcd->uses_new_polling = 1;
430 hcd->poll_rh = 0;
431 430
432 xhci_dbg(xhci, "xhci_run\n"); 431 xhci_dbg(xhci, "xhci_run\n");
433#if 0 /* FIXME: MSI not setup yet */ 432#if 0 /* FIXME: MSI not setup yet */
@@ -733,7 +732,7 @@ int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
733 ret = -EINVAL; 732 ret = -EINVAL;
734 goto exit; 733 goto exit;
735 } 734 }
736 if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags)) { 735 if (!HCD_HW_ACCESSIBLE(hcd)) {
737 if (!in_interrupt()) 736 if (!in_interrupt())
738 xhci_dbg(xhci, "urb submitted during PCI suspend\n"); 737 xhci_dbg(xhci, "urb submitted during PCI suspend\n");
739 ret = -ESHUTDOWN; 738 ret = -ESHUTDOWN;