aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-hcd.c')
-rw-r--r--drivers/usb/host/xhci-hcd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-hcd.c b/drivers/usb/host/xhci-hcd.c
index 1d4a1e3f9533..e478a63488fb 100644
--- a/drivers/usb/host/xhci-hcd.c
+++ b/drivers/usb/host/xhci-hcd.c
@@ -727,6 +727,11 @@ int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
727 ret = xhci_queue_bulk_tx(xhci, GFP_ATOMIC, urb, 727 ret = xhci_queue_bulk_tx(xhci, GFP_ATOMIC, urb,
728 slot_id, ep_index); 728 slot_id, ep_index);
729 spin_unlock_irqrestore(&xhci->lock, flags); 729 spin_unlock_irqrestore(&xhci->lock, flags);
730 } else if (usb_endpoint_xfer_int(&urb->ep->desc)) {
731 spin_lock_irqsave(&xhci->lock, flags);
732 ret = xhci_queue_intr_tx(xhci, GFP_ATOMIC, urb,
733 slot_id, ep_index);
734 spin_unlock_irqrestore(&xhci->lock, flags);
730 } else { 735 } else {
731 ret = -EINVAL; 736 ret = -EINVAL;
732 } 737 }