Changeset 9848c77 in mainline for uspace/lib/usbhost/src/bus.c
- Timestamp:
- 2018-01-11T04:14:40Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 17783bf
- Parents:
- 0892663a
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-11 04:10:46)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-11 04:14:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/bus.c
r0892663a r9848c77 167 167 */ 168 168 fibril_mutex_unlock(&dev->guard); 169 bus_device_ remove(child);169 bus_device_gone(child); 170 170 fibril_mutex_lock(&dev->guard); 171 171 } … … 176 176 * Resolve a USB device that is gone. 177 177 */ 178 void bus_device_ remove(device_t *dev)178 void bus_device_gone(device_t *dev) 179 179 { 180 180 assert(dev); 181 181 assert(dev->fun == NULL); 182 182 183 const bus_ops_t *ops = BUS_OPS_LOOKUP(dev->bus->ops, device_ remove);183 const bus_ops_t *ops = BUS_OPS_LOOKUP(dev->bus->ops, device_gone); 184 184 assert(ops); 185 185 … … 212 212 213 213 /* Tell the HC to release its resources. */ 214 ops->device_ remove(dev);214 ops->device_gone(dev); 215 215 216 216 /* Release the EP0 bus reference */
Note:
See TracChangeset
for help on using the changeset viewer.