Changeset 9f5b613 in mainline
- Timestamp:
- 2017-07-29T20:35:21Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0cabd10
- Parents:
- 66dcc24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/commands.c
r66dcc24 r9f5b613 132 132 if (cmd_link != NULL) { 133 133 list_remove(cmd_link); 134 134 135 135 return list_get_instance(cmd_link, xhci_cmd_t, link); 136 136 } … … 163 163 164 164 static inline xhci_cmd_t *add_cmd(xhci_hc_t *hc, xhci_cmd_t *cmd) 165 { 165 { 166 166 if (cmd == NULL) { 167 167 cmd = xhci_alloc_command(); … … 475 475 switch (TRB_TYPE(*command_trb)) { 476 476 case XHCI_TRB_TYPE_NO_OP_CMD: 477 assert(code = XHCI_TRBC_TRB_ERROR);477 assert(code == XHCI_TRBC_TRB_ERROR); 478 478 break; 479 479 case XHCI_TRB_TYPE_ENABLE_SLOT_CMD:
Note:
See TracChangeset
for help on using the changeset viewer.