|
|
@@ -34,7 +34,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
|
|
|
--- a/drivers/usb/host/xhci-mem.c
|
|
|
+++ b/drivers/usb/host/xhci-mem.c
|
|
|
-@@ -1397,6 +1397,7 @@ int xhci_endpoint_init(struct xhci_hcd *
|
|
|
+@@ -1383,6 +1383,7 @@ int xhci_endpoint_init(struct xhci_hcd *
|
|
|
unsigned int ep_index;
|
|
|
struct xhci_ep_ctx *ep_ctx;
|
|
|
struct xhci_ring *ep_ring;
|
|
|
@@ -42,7 +42,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
unsigned int max_packet;
|
|
|
enum xhci_ring_type ring_type;
|
|
|
u32 max_esit_payload;
|
|
|
-@@ -1406,6 +1407,8 @@ int xhci_endpoint_init(struct xhci_hcd *
|
|
|
+@@ -1392,6 +1393,8 @@ int xhci_endpoint_init(struct xhci_hcd *
|
|
|
unsigned int mult;
|
|
|
unsigned int avg_trb_len;
|
|
|
unsigned int err_count = 0;
|
|
|
@@ -51,7 +51,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
|
|
|
ep_index = xhci_get_endpoint_index(&ep->desc);
|
|
|
ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index);
|
|
|
-@@ -1441,9 +1444,35 @@ int xhci_endpoint_init(struct xhci_hcd *
|
|
|
+@@ -1427,9 +1430,35 @@ int xhci_endpoint_init(struct xhci_hcd *
|
|
|
|
|
|
mult = xhci_get_endpoint_mult(udev, ep);
|
|
|
max_packet = usb_endpoint_maxp(&ep->desc);
|
|
|
@@ -100,7 +100,7 @@ Signed-off-by: Jonathan Bell <[email protected]>
|
|
|
if (pdev->vendor == PCI_VENDOR_ID_ASMEDIA &&
|
|
|
--- a/drivers/usb/host/xhci.h
|
|
|
+++ b/drivers/usb/host/xhci.h
|
|
|
-@@ -1630,6 +1630,7 @@ struct xhci_hcd {
|
|
|
+@@ -1633,6 +1633,7 @@ struct xhci_hcd {
|
|
|
|
|
|
/* Downstream VLI fixes */
|
|
|
#define XHCI_AVOID_DQ_ON_LINK BIT_ULL(56)
|