Changeset 6832245 in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2017-12-14T23:01:57Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 837d53d
- Parents:
- bd05140
- git-author:
- Ondřej Hlavatý <aearsis@…> (2017-12-14 23:01:54)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2017-12-14 23:01:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
rbd05140 r6832245 212 212 goto err_scratch; 213 213 214 if ((err = xhci_bus_init(&hc->bus, hc))) 215 goto err_cmd; 216 214 217 if ((err = xhci_rh_init(&hc->rh, hc, device))) 215 goto err_cmd; 216 217 if ((err = xhci_bus_init(&hc->bus, hc))) 218 goto err_rh; 219 220 221 return EOK; 222 223 err_rh: 224 xhci_rh_fini(&hc->rh); 218 goto err_bus; 219 220 return EOK; 221 222 err_bus: 223 xhci_bus_fini(&hc->bus); 225 224 err_cmd: 226 225 xhci_fini_commands(hc);
Note:
See TracChangeset
for help on using the changeset viewer.