Changeset b5f813c in mainline for uspace/drv/bus/usb/ohci/ohci_endpoint.c
- Timestamp:
- 2015-07-04T03:28:02Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 55346870
- Parents:
- 2dbfe44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_endpoint.c
r2dbfe44 rb5f813c 95 95 endpoint_set_hc_data( 96 96 ep, ohci_ep, ohci_ep_toggle_get, ohci_ep_toggle_set); 97 hc_enqueue_endpoint(hcd ->driver.data, ep);97 hc_enqueue_endpoint(hcd_get_driver_data(hcd), ep); 98 98 return EOK; 99 99 } … … 109 109 assert(ep); 110 110 ohci_endpoint_t *instance = ohci_endpoint_get(ep); 111 hc_dequeue_endpoint(hcd->driver.data, ep); 111 hc_dequeue_endpoint(hcd_get_driver_data(hcd), ep); 112 endpoint_clear_hc_data(ep); 112 113 if (instance) { 113 114 free32(instance->ed); … … 115 116 free(instance); 116 117 } 117 endpoint_clear_hc_data(ep);118 118 } 119 119 /**
Note:
See TracChangeset
for help on using the changeset viewer.