Changeset 2896ff6 in mainline for uspace/drv/bus/usb/xhci/endpoint.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/endpoint.c

    r1a9a72a r2896ff6  
    257257                cmd.slot_id = dev->slot_id;
    258258                xhci_send_configure_endpoint_command(dev->hc, &cmd, ictx);
    259                 if ((err = xhci_cmd_wait(&cmd, 100000)) != EOK)
     259                if ((err = xhci_cmd_wait(&cmd)) != EOK)
    260260                        goto err_cmd;
    261261
     
    324324        cmd.slot_id = dev->slot_id;
    325325        xhci_send_configure_endpoint_command(hc, &cmd, ictx);
    326         if ((err = xhci_cmd_wait(&cmd, 100000)) != EOK)
     326        if ((err = xhci_cmd_wait(&cmd)) != EOK)
    327327                goto err_cmd;
    328328
Note: See TracChangeset for help on using the changeset viewer.