Changeset 37b13175 in mainline
- Timestamp:
- 2018-01-13T12:25:38Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b56e528
- Parents:
- 93757c5
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-13 12:25:30)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-13 12:25:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/rh.c
r93757c5 r37b13175 195 195 } 196 196 197 fibril_mutex_lock(&rh->device.base.guard);198 197 rh->devices_by_port[port_id - 1] = xhci_dev; 199 fibril_mutex_unlock(&rh->device.base.guard);200 198 201 199 return EOK; … … 275 273 276 274 /* Mark the device as detached. */ 277 fibril_mutex_lock(&rh->device.base.guard);278 275 rh->devices_by_port[port_id - 1] = NULL; 279 fibril_mutex_unlock(&rh->device.base.guard);280 276 281 277 /* Remove device from XHCI bus. */
Note:
See TracChangeset
for help on using the changeset viewer.