Changeset 9ee13a7 in mainline for uspace/drv/bus/usb/xhci/hc.c


Ignore:
Timestamp:
2017-08-09T17:05:08Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d31705d
Parents:
6fa91e4c
Message:

Fixed deallocation, corrected cstyle, removed trailing whitespace, removed unnecessary slot enable command tests in hc_schedule.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hc.c

    r6fa91e4c r9ee13a7  
    367367        xhci_free_command(cmd);
    368368
    369         for (int i = 0; i < 10; ++i) {
    370                 xhci_cmd_t *cmd2 = xhci_alloc_command();
    371                 xhci_send_enable_slot_command(hc, cmd2);
    372                 xhci_wait_for_command(cmd2, 1000000);
    373                 usb_log_error("Enabled slot ID: %u.", cmd2->slot_id);
    374                 xhci_free_command(cmd2);
    375         }
    376 
    377369        return EOK;
    378370}
Note: See TracChangeset for help on using the changeset viewer.