aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r--drivers/usb/host/xhci-mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index 04145740686c..6938cc8d848f 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -1045,12 +1045,12 @@ static unsigned int xhci_get_endpoint_interval(struct usb_device *udev,
1045 break; 1045 break;
1046 1046
1047 case USB_SPEED_FULL: 1047 case USB_SPEED_FULL:
1048 if (usb_endpoint_xfer_int(&ep->desc)) { 1048 if (usb_endpoint_xfer_isoc(&ep->desc)) {
1049 interval = xhci_parse_exponent_interval(udev, ep); 1049 interval = xhci_parse_exponent_interval(udev, ep);
1050 break; 1050 break;
1051 } 1051 }
1052 /* 1052 /*
1053 * Fall through for isochronous endpoint interval decoding 1053 * Fall through for interrupt endpoint interval decoding
1054 * since it uses the same rules as low speed interrupt 1054 * since it uses the same rules as low speed interrupt
1055 * endpoints. 1055 * endpoints.
1056 */ 1056 */