Changeset 17873ac7 in mainline for uspace/drv/bus/usb/uhci/transfer_list.c
- Timestamp:
- 2017-10-31T19:06:57Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 479e32d
- Parents:
- a312d8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/transfer_list.c
ra312d8f r17873ac7 115 115 assert(instance); 116 116 assert(uhci_batch); 117 118 endpoint_t *ep = uhci_batch->base.ep; 119 120 /* First, wait until the endpoint is free to use */ 121 fibril_mutex_lock(&ep->guard); 122 endpoint_activate_locked(ep, &uhci_batch->base); 123 fibril_mutex_unlock(&ep->guard); 124 117 125 usb_log_debug2("Batch %p adding to queue %s.\n", 118 126 uhci_batch, instance->name); … … 189 197 uhci_transfer_batch_from_link(current); 190 198 transfer_list_remove_batch(instance, batch); 191 uhci_transfer_batch_abort(batch);199 endpoint_abort(batch->base.ep); 192 200 } 193 201 fibril_mutex_unlock(&instance->guard);
Note:
See TracChangeset
for help on using the changeset viewer.