Changes in uspace/drv/bus/usb/xhci/endpoint.c [3bacee1:cb19590] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
r3bacee1 rcb19590 102 102 if (dev->speed >= USB_SPEED_HIGH || 103 103 ep->transfer_type != USB_TRANSFER_INTERRUPT) { 104 105 // XXX: According to the spec, the interval should be 106 // from [1, 16]. However, in QEMU, we get 0 here 107 // (a QEMU bug?). 108 if (xhci_ep->interval == 0) 109 xhci_ep->interval = 8; 110 104 111 xhci_ep->interval = 1 << (xhci_ep->interval - 1); 105 112 }
Note:
See TracChangeset
for help on using the changeset viewer.