Changeset 2896ff6 in mainline for uspace/drv/bus/usb/xhci/rh.c


Ignore:
Timestamp:
2017-10-19T20:52:35Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
913007f
Parents:
1a9a72a
Message:

Vaguer log level. Extracted timeout constant from command completion waiting and increased it for a bit.

File:
1 edited

Legend:

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

    r1a9a72a r2896ff6  
    9191
    9292        xhci_send_enable_slot_command(hc, &cmd);
    93         if ((err = xhci_cmd_wait(&cmd, 100000)) != EOK)
     93        if ((err = xhci_cmd_wait(&cmd)) != EOK)
    9494                return err;
    9595
     
    155155        cmd.slot_id = slot_id;
    156156        xhci_send_address_device_command(hc, &cmd, ictx);
    157         if ((err = xhci_cmd_wait(&cmd, 100000)) != EOK)
     157        if ((err = xhci_cmd_wait(&cmd)) != EOK)
    158158                goto err_dctx;
    159159
     
    400400        xhci_get_port_bandwidth_command(dev->hc, &cmd, ctx, speed);
    401401
    402         int err = xhci_cmd_wait(&cmd, 100000);
     402        int err = xhci_cmd_wait(&cmd);
    403403        if(err != EOK) {
    404404                free(ctx);
Note: See TracChangeset for help on using the changeset viewer.