Changeset 7278cbc9 in mainline for uspace/drv/bus/usb/ehci/hc.c


Ignore:
Timestamp:
2018-01-22T23:53:11Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e546142
Parents:
3ac86a4
Message:

usbhost: dispose the EP0 properly (+some ehci cleanup while debugging)

File:
1 edited

Legend:

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

    r3ac86a4 r7278cbc9  
    236236        assert(ep);
    237237        ehci_endpoint_t *ehci_ep = ehci_endpoint_get(ep);
    238         usb_log_debug("HC(%p) dequeue EP(?:%d:%s:%s)", instance,
    239             ep->endpoint,
     238        usb_log_debug("HC(%p) dequeue EP(%d:%d:%s:%s)", instance,
     239            ep->device->address, ep->endpoint,
    240240            usb_str_transfer_type_short(ep->transfer_type),
    241241            usb_str_direction(ep->direction));
     
    360360
    361361        if (status & (USB_STS_IRQ_FLAG | USB_STS_ERR_IRQ_FLAG)) {
    362 
    363                 LIST_INITIALIZE(completed);
    364 
    365362                fibril_mutex_lock(&hc->guard);
    366363
Note: See TracChangeset for help on using the changeset viewer.