diff options
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r-- | drivers/usb/host/xhci.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 34cf4e16587..64f82b99922 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
@@ -350,7 +350,6 @@ void xhci_event_ring_work(unsigned long arg) | |||
350 | 350 | ||
351 | temp = xhci_readl(xhci, &xhci->ir_set->irq_pending); | 351 | temp = xhci_readl(xhci, &xhci->ir_set->irq_pending); |
352 | xhci_dbg(xhci, "ir_set 0 pending = 0x%x\n", temp); | 352 | xhci_dbg(xhci, "ir_set 0 pending = 0x%x\n", temp); |
353 | xhci_dbg(xhci, "No-op commands handled = %d\n", xhci->noops_handled); | ||
354 | xhci_dbg(xhci, "HC error bitmask = 0x%x\n", xhci->error_bitmask); | 353 | xhci_dbg(xhci, "HC error bitmask = 0x%x\n", xhci->error_bitmask); |
355 | xhci->error_bitmask = 0; | 354 | xhci->error_bitmask = 0; |
356 | xhci_dbg(xhci, "Event ring:\n"); | 355 | xhci_dbg(xhci, "Event ring:\n"); |
@@ -370,10 +369,6 @@ void xhci_event_ring_work(unsigned long arg) | |||
370 | xhci_dbg_ep_rings(xhci, i, j, &xhci->devs[i]->eps[j]); | 369 | xhci_dbg_ep_rings(xhci, i, j, &xhci->devs[i]->eps[j]); |
371 | } | 370 | } |
372 | } | 371 | } |
373 | |||
374 | if (xhci->noops_submitted != NUM_TEST_NOOPS) | ||
375 | if (xhci_setup_one_noop(xhci)) | ||
376 | xhci_ring_cmd_db(xhci); | ||
377 | spin_unlock_irqrestore(&xhci->lock, flags); | 372 | spin_unlock_irqrestore(&xhci->lock, flags); |
378 | 373 | ||
379 | if (!xhci->zombie) | 374 | if (!xhci->zombie) |
@@ -402,7 +397,6 @@ int xhci_run(struct usb_hcd *hcd) | |||
402 | u32 ret; | 397 | u32 ret; |
403 | struct xhci_hcd *xhci = hcd_to_xhci(hcd); | 398 | struct xhci_hcd *xhci = hcd_to_xhci(hcd); |
404 | struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); | 399 | struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); |
405 | void (*doorbell)(struct xhci_hcd *) = NULL; | ||
406 | 400 | ||
407 | hcd->uses_new_polling = 1; | 401 | hcd->uses_new_polling = 1; |
408 | 402 | ||
@@ -475,8 +469,6 @@ int xhci_run(struct usb_hcd *hcd) | |||
475 | &xhci->ir_set->irq_pending); | 469 | &xhci->ir_set->irq_pending); |
476 | xhci_print_ir_set(xhci, xhci->ir_set, 0); | 470 | xhci_print_ir_set(xhci, xhci->ir_set, 0); |
477 | 471 | ||
478 | if (NUM_TEST_NOOPS > 0) | ||
479 | doorbell = xhci_setup_one_noop(xhci); | ||
480 | if (xhci->quirks & XHCI_NEC_HOST) | 472 | if (xhci->quirks & XHCI_NEC_HOST) |
481 | xhci_queue_vendor_command(xhci, 0, 0, 0, | 473 | xhci_queue_vendor_command(xhci, 0, 0, 0, |
482 | TRB_TYPE(TRB_NEC_GET_FW)); | 474 | TRB_TYPE(TRB_NEC_GET_FW)); |
@@ -486,8 +478,6 @@ int xhci_run(struct usb_hcd *hcd) | |||
486 | return -ENODEV; | 478 | return -ENODEV; |
487 | } | 479 | } |
488 | 480 | ||
489 | if (doorbell) | ||
490 | (*doorbell)(xhci); | ||
491 | if (xhci->quirks & XHCI_NEC_HOST) | 481 | if (xhci->quirks & XHCI_NEC_HOST) |
492 | xhci_ring_cmd_db(xhci); | 482 | xhci_ring_cmd_db(xhci); |
493 | 483 | ||