Changeset 0539c14 in mainline


Ignore:
Timestamp:
2018-02-24T19:51:28Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95f1b8f
Parents:
ee820ff
git-author:
Ondřej Hlavatý <aearsis@…> (2018-02-22 22:42:45)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-02-24 19:51:28)
Message:

ohci: batch can be prepared without activating ep first

File:
1 edited

Legend:

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

    ree820ff r0539c14  
    304304        int err;
    305305
     306        if ((err = ohci_transfer_batch_prepare(ohci_batch)))
     307                return err;
     308
    306309        fibril_mutex_lock(&hc->guard);
    307310        if ((err = endpoint_activate_locked(ep, batch))) {
     
    309312                return err;
    310313        }
    311 
    312         if ((err = ohci_transfer_batch_prepare(ohci_batch)))
    313                 return err;
    314314
    315315        ohci_transfer_batch_commit(ohci_batch);
Note: See TracChangeset for help on using the changeset viewer.