Changeset cb19590 in mainline
- Timestamp:
- 2018-06-27T14:57:15Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1c9ae08
- Parents:
- 60876fd3
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-27 14:56:56)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-27 14:57:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
r60876fd3 rcb19590 103 103 ep->transfer_type != USB_TRANSFER_INTERRUPT) { 104 104 105 if (xhci_ep->interval > 0) 106 xhci_ep->interval = 1 << (xhci_ep->interval - 1); 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 111 xhci_ep->interval = 1 << (xhci_ep->interval - 1); 107 112 } 108 113
Note:
See TracChangeset
for help on using the changeset viewer.