Changeset 56db65d in mainline for uspace/lib/usbhost/src/hcd.c
- Timestamp:
- 2017-10-24T11:06:32Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0206d35
- Parents:
- 894f58c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/hcd.c
r894f58c r56db65d 87 87 assert(device->address == target.address); 88 88 89 if (!hcd->ops.schedule) { 90 usb_log_error("HCD does not implement scheduler.\n"); 91 return ENOTSUP; 92 } 93 89 94 endpoint_t *ep = bus_find_endpoint(hcd->bus, device, target, direction); 90 95 if (ep == NULL) { … … 93 98 return ENOENT; 94 99 } 100 101 // TODO cut here aka provide helper to call with instance of endpoint_t in hand 95 102 96 103 usb_log_debug2("%s %d:%d %zu(%zu).\n", … … 104 111 ep->target.address, ep->target.endpoint, name, bw, ep->bandwidth); 105 112 return ENOSPC; 106 }107 if (!hcd->ops.schedule) {108 usb_log_error("HCD does not implement scheduler.\n");109 return ENOTSUP;110 113 } 111 114
Note:
See TracChangeset
for help on using the changeset viewer.