Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7013b14 in mainline for uspace/drv/ohci/endpoint_list.c


Ignore:
Timestamp:
2011-04-13T14:19:12Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial
Children:
d6522dd
Parents:
9a6fde4
Message:

Batch processing implemented to use static EDs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/endpoint_list.c

    r9a6fde4 r7013b14  
    191191        assert(hcd_ep);
    192192        assert(hcd_ep->ed);
    193         assert(fibril_mutex_is_locked(&instance->guard));
     193
     194        fibril_mutex_lock(&instance->guard);
    194195
    195196        usb_log_debug2(
     
    218219        /* Remove from the endpoint list */
    219220        list_remove(&hcd_ep->link);
     221        fibril_mutex_unlock(&instance->guard);
    220222}
    221223/**
Note: See TracChangeset for help on using the changeset viewer.