Changeset e439f468 in mainline for uspace/drv/bus/usb/xhci/endpoint.c


Ignore:
Timestamp:
2017-08-17T19:10:23Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
706a3e2
Parents:
275f529
Message:

Fixed fini() assertion error.

File:
1 edited

Legend:

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

    r275f529 re439f468  
    6868        }
    6969
     70        fibril_mutex_lock(&ep->guard);
     71        ep->hc_data.data = NULL;
     72        ep->hc_data.toggle_get = NULL;
     73        ep->hc_data.toggle_set = NULL;
     74        fibril_mutex_unlock(&ep->guard);
     75
    7076        usb_log_debug("Endpoint %d:%d destroyed.", ep->address, ep->endpoint);
    7177}
Note: See TracChangeset for help on using the changeset viewer.