Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/ohci/ohci_batch.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_batch.c
rfac0ac7 r7c3fb9b 163 163 return false; 164 164 165 /* Now we may be sure that either the ED is inactive because of errors 166 * or all transfer descriptors completed successfully */ 165 /* 166 * Now we may be sure that either the ED is inactive because of errors 167 * or all transfer descriptors completed successfully 168 */ 167 169 168 170 /* Assume all data got through */ … … 178 180 usb_batch->error = td_error(ohci_batch->tds[i]); 179 181 if (usb_batch->error == EOK) { 180 /* If the TD got all its data through, it will report 182 /* 183 * If the TD got all its data through, it will report 181 184 * 0 bytes remain, the sole exception is INPUT with 182 185 * data rounding flag (short), i.e. every INPUT. … … 199 202 assert((ohci_ep->ed->td_head & ED_TDHEAD_HALTED_FLAG) != 0); 200 203 201 /* We don't care where the processing stopped, we just 204 /* 205 * We don't care where the processing stopped, we just 202 206 * need to make sure it's not using any of the TDs owned 203 207 * by the transfer.
Note:
See TracChangeset
for help on using the changeset viewer.