Changeset ba2e17f in mainline
- Timestamp:
- 2018-01-12T19:23:32Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5d25984
- Parents:
- e7e99bf
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-12 19:18:53)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-12 19:23:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/bus.c
re7e99bf rba2e17f 163 163 } 164 164 165 /* Assign an address to the device */ 166 if ((err = address_device(bus, xhci_dev))) { 165 int retries = 3; 166 do { 167 /* Assign an address to the device */ 168 err = address_device(bus, xhci_dev); 169 } while (err == ESTALL && --retries > 0); 170 171 if (err) { 167 172 usb_log_error("Failed to setup address of the new device: %s", str_error(err)); 168 173 return err;
Note:
See TracChangeset
for help on using the changeset viewer.