aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index c3fa32a905ec..6cb9c2235a0b 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -2971,7 +2971,7 @@ static int xhci_check_streams_endpoint(struct xhci_hcd *xhci,
2971 ret = xhci_check_args(xhci_to_hcd(xhci), udev, ep, 1, true, __func__); 2971 ret = xhci_check_args(xhci_to_hcd(xhci), udev, ep, 1, true, __func__);
2972 if (ret <= 0) 2972 if (ret <= 0)
2973 return -EINVAL; 2973 return -EINVAL;
2974 if (ep->ss_ep_comp.bmAttributes == 0) { 2974 if (usb_ss_max_streams(&ep->ss_ep_comp) == 0) {
2975 xhci_warn(xhci, "WARN: SuperSpeed Endpoint Companion" 2975 xhci_warn(xhci, "WARN: SuperSpeed Endpoint Companion"
2976 " descriptor for ep 0x%x does not support streams\n", 2976 " descriptor for ep 0x%x does not support streams\n",
2977 ep->desc.bEndpointAddress); 2977 ep->desc.bEndpointAddress);