USB: xhci: Bulk transfer support
[deliverable/linux.git] / drivers / usb / host / xhci-mem.c
index 8cd55f03ea269e88c0ca64ac98eac5a050c2518c..617db9c37770c6ee13a59390165271eb53feb465 100644 (file)
@@ -494,7 +494,9 @@ int xhci_endpoint_init(struct xhci_hcd *xhci,
        case USB_SPEED_SUPER:
                max_packet = ep->desc.wMaxPacketSize;
                ep_ctx->ep_info2 |= MAX_PACKET(max_packet);
-               /* FIXME dig out burst from ep companion desc */
+               /* dig out max burst from ep companion desc */
+               max_packet = ep->ep_comp->desc.bMaxBurst;
+               ep_ctx->ep_info2 |= MAX_BURST(max_packet);
                break;
        case USB_SPEED_HIGH:
                /* bits 11:12 specify the number of additional transaction
This page took 0.025345 seconds and 5 git commands to generate.