[USBPORT] Use USB2_HS_INTERRUPT_IN_OVERHEAD instead USB2_HS_ISOCHRONOUS_OUT_OVERHEAD. 283/head
authorVadim Galyant <vgal@rambler.ru>
Wed, 21 Feb 2018 04:35:25 +0000 (13:35 +0900)
committerVadim Galyant <vgal@rambler.ru>
Wed, 21 Feb 2018 04:35:25 +0000 (13:35 +0900)
drivers/usb/usbport/usb2.c

index 7d2c9a3..be13000 100644 (file)
@@ -145,7 +145,7 @@ USB2_GetOverhead(IN PUSB2_TT_ENDPOINT TtEndpoint)
             if (TransferType == USBPORT_TRANSFER_TYPE_ISOCHRONOUS)
                 Overhead = HostDelay + USB2_HS_ISOCHRONOUS_IN_OVERHEAD;
             else
-                Overhead = HostDelay + USB2_HS_ISOCHRONOUS_OUT_OVERHEAD;
+                Overhead = HostDelay + USB2_HS_INTERRUPT_IN_OVERHEAD;
         }
     }
     else if (DeviceSpeed == UsbFullSpeed)