Changes in uspace/drv/uhci-hcd/transfer_list.c [4fd3faf:da88eb82] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/transfer_list.c
r4fd3faf rda88eb82 132 132 } 133 133 /*----------------------------------------------------------------------------*/ 134 /** Create list for finished batches. 135 * 136 * @param[in] instance List to use. 137 * @param[in] done list to fill 134 /** Check list for finished batches. 135 * 136 * @param[in] instance List to use. 137 * @return Error code 138 * 139 * Creates a local list of finished batches and calls next_step on each and 140 * every one. This is safer because next_step may theoretically access 141 * this transfer list leading to the deadlock if its done inline. 138 142 */ 139 143 void transfer_list_remove_finished(transfer_list_t *instance, link_t *done) … … 157 161 } 158 162 fibril_mutex_unlock(&instance->guard); 163 159 164 } 160 165 /*----------------------------------------------------------------------------*/ … … 171 176 list_get_instance(current, usb_transfer_batch_t, link); 172 177 transfer_list_remove_batch(instance, batch); 173 usb_transfer_batch_finish _error(batch, EIO);178 usb_transfer_batch_finish(batch, EIO); 174 179 } 175 180 fibril_mutex_unlock(&instance->guard);
Note:
See TracChangeset
for help on using the changeset viewer.