diff options
-rw-r--r-- | drivers/usb/host/xhci-pci.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 4 | ||||
-rw-r--r-- | drivers/usb/host/xhci.h | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 9bfd4ca1153c..8345d7c23061 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c | |||
@@ -103,6 +103,7 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) | |||
103 | * PPT chipsets. | 103 | * PPT chipsets. |
104 | */ | 104 | */ |
105 | xhci->quirks |= XHCI_SPURIOUS_REBOOT; | 105 | xhci->quirks |= XHCI_SPURIOUS_REBOOT; |
106 | xhci->quirks |= XHCI_AVOID_BEI; | ||
106 | } | 107 | } |
107 | if (pdev->vendor == PCI_VENDOR_ID_ETRON && | 108 | if (pdev->vendor == PCI_VENDOR_ID_ETRON && |
108 | pdev->device == PCI_DEVICE_ID_ASROCK_P67) { | 109 | pdev->device == PCI_DEVICE_ID_ASROCK_P67) { |
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index f270e70559bd..c6ebb176dc4f 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c | |||
@@ -3672,7 +3672,9 @@ static int xhci_queue_isoc_tx(struct xhci_hcd *xhci, gfp_t mem_flags, | |||
3672 | } else { | 3672 | } else { |
3673 | td->last_trb = ep_ring->enqueue; | 3673 | td->last_trb = ep_ring->enqueue; |
3674 | field |= TRB_IOC; | 3674 | field |= TRB_IOC; |
3675 | if (xhci->hci_version == 0x100) { | 3675 | if (xhci->hci_version == 0x100 && |
3676 | !(xhci->quirks & | ||
3677 | XHCI_AVOID_BEI)) { | ||
3676 | /* Set BEI bit except for the last td */ | 3678 | /* Set BEI bit except for the last td */ |
3677 | if (i < num_tds - 1) | 3679 | if (i < num_tds - 1) |
3678 | field |= TRB_BEI; | 3680 | field |= TRB_BEI; |
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index e44e2d3c83b0..53df4e70ca07 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h | |||
@@ -1511,6 +1511,7 @@ struct xhci_hcd { | |||
1511 | #define XHCI_INTEL_HOST (1 << 12) | 1511 | #define XHCI_INTEL_HOST (1 << 12) |
1512 | #define XHCI_SPURIOUS_REBOOT (1 << 13) | 1512 | #define XHCI_SPURIOUS_REBOOT (1 << 13) |
1513 | #define XHCI_COMP_MODE_QUIRK (1 << 14) | 1513 | #define XHCI_COMP_MODE_QUIRK (1 << 14) |
1514 | #define XHCI_AVOID_BEI (1 << 15) | ||
1514 | unsigned int num_active_eps; | 1515 | unsigned int num_active_eps; |
1515 | unsigned int limit_active_eps; | 1516 | unsigned int limit_active_eps; |
1516 | /* There are two roothubs to keep track of bus suspend info for */ | 1517 | /* There are two roothubs to keep track of bus suspend info for */ |