Changeset 1433ecda in mainline for uspace/lib/usbhost/src/bus.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/bus.c
r47b2d7e3 r1433ecda 114 114 dev->tt.dev = dev->hub; 115 115 dev->tt.port = dev->port; 116 } 117 else { 116 } else { 118 117 /* Inherit hub's TT */ 119 118 dev->tt = dev->hub->tt; … … 172 171 ddf_fun_get_name(dev->fun), i, op); 173 172 174 endpoint_t * 173 endpoint_t *const ep = dev->endpoints[i]; 175 174 endpoint_add_ref(ep); 176 175 … … 190 189 /* Remove also orphaned children. */ 191 190 while (!list_empty(&dev->devices)) { 192 device_t * 191 device_t *const child = list_get_instance(list_first(&dev->devices), device_t, link); 193 192 194 193 /* … … 405 404 if (ep->max_transfer_size == 0) { 406 405 usb_log_warning("Invalid endpoint description (mps %zu, " 407 406 "%u packets)", ep->max_packet_size, ep->packets_per_uframe); 408 407 goto drop; 409 408 }
Note:
See TracChangeset
for help on using the changeset viewer.