|
|
@ -24,7 +24,7 @@ Signed-off-by: Peter Chen <peter.chen@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
--- a/drivers/usb/host/xhci-hub.c
|
|
|
|
--- a/drivers/usb/host/xhci-hub.c
|
|
|
|
+++ b/drivers/usb/host/xhci-hub.c
|
|
|
|
+++ b/drivers/usb/host/xhci-hub.c
|
|
|
|
@@ -1378,6 +1378,15 @@ int xhci_hub_control(struct usb_hcd *hcd
|
|
|
|
@@ -1419,6 +1419,15 @@ int xhci_hub_control(struct usb_hcd *hcd
|
|
|
|
/* 4.19.6 Port Test Modes (USB2 Test Mode) */
|
|
|
|
/* 4.19.6 Port Test Modes (USB2 Test Mode) */
|
|
|
|
if (hcd->speed != HCD_USB2)
|
|
|
|
if (hcd->speed != HCD_USB2)
|
|
|
|
goto error;
|
|
|
|
goto error;
|
|
|
@ -42,7 +42,7 @@ Signed-off-by: Peter Chen <peter.chen@nxp.com>
|
|
|
|
retval = xhci_enter_test_mode(xhci, test_mode, wIndex,
|
|
|
|
retval = xhci_enter_test_mode(xhci, test_mode, wIndex,
|
|
|
|
--- a/drivers/usb/host/xhci-ring.c
|
|
|
|
--- a/drivers/usb/host/xhci-ring.c
|
|
|
|
+++ b/drivers/usb/host/xhci-ring.c
|
|
|
|
+++ b/drivers/usb/host/xhci-ring.c
|
|
|
|
@@ -3545,6 +3545,129 @@ int xhci_queue_ctrl_tx(struct xhci_hcd *
|
|
|
|
@@ -3580,6 +3580,129 @@ int xhci_queue_ctrl_tx(struct xhci_hcd *
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -174,7 +174,7 @@ Signed-off-by: Peter Chen <peter.chen@nxp.com>
|
|
|
|
* bursts that are required to move all packets in this TD. Only SuperSpeed
|
|
|
|
* bursts that are required to move all packets in this TD. Only SuperSpeed
|
|
|
|
--- a/drivers/usb/host/xhci.c
|
|
|
|
--- a/drivers/usb/host/xhci.c
|
|
|
|
+++ b/drivers/usb/host/xhci.c
|
|
|
|
+++ b/drivers/usb/host/xhci.c
|
|
|
|
@@ -5352,6 +5352,7 @@ static const struct hc_driver xhci_hc_dr
|
|
|
|
@@ -5354,6 +5354,7 @@ static const struct hc_driver xhci_hc_dr
|
|
|
|
.disable_usb3_lpm_timeout = xhci_disable_usb3_lpm_timeout,
|
|
|
|
.disable_usb3_lpm_timeout = xhci_disable_usb3_lpm_timeout,
|
|
|
|
.find_raw_port_number = xhci_find_raw_port_number,
|
|
|
|
.find_raw_port_number = xhci_find_raw_port_number,
|
|
|
|
.clear_tt_buffer_complete = xhci_clear_tt_buffer_complete,
|
|
|
|
.clear_tt_buffer_complete = xhci_clear_tt_buffer_complete,
|
|
|
@ -184,7 +184,7 @@ Signed-off-by: Peter Chen <peter.chen@nxp.com>
|
|
|
|
void xhci_init_driver(struct hc_driver *drv,
|
|
|
|
void xhci_init_driver(struct hc_driver *drv,
|
|
|
|
--- a/drivers/usb/host/xhci.h
|
|
|
|
--- a/drivers/usb/host/xhci.h
|
|
|
|
+++ b/drivers/usb/host/xhci.h
|
|
|
|
+++ b/drivers/usb/host/xhci.h
|
|
|
|
@@ -2141,6 +2141,16 @@ int xhci_find_raw_port_number(struct usb
|
|
|
|
@@ -2143,6 +2143,16 @@ int xhci_find_raw_port_number(struct usb
|
|
|
|
struct xhci_hub *xhci_get_rhub(struct usb_hcd *hcd);
|
|
|
|
struct xhci_hub *xhci_get_rhub(struct usb_hcd *hcd);
|
|
|
|
|
|
|
|
|
|
|
|
void xhci_hc_died(struct xhci_hcd *xhci);
|
|
|
|
void xhci_hc_died(struct xhci_hcd *xhci);
|
|
|
|