Changeset 1ed3eb4 in mainline for uspace/drv/bus/usb/xhci/isoch.c


Ignore:
Timestamp:
2018-01-13T19:13:04Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2489353
Parents:
001778c
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-13 19:12:34)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-13 19:13:04)
Message:

usbhost: endpoint is identified also by its direction

File:
1 edited

Legend:

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

    r001778c r1ed3eb4  
    572572}
    573573
    574 int isoch_handle_transfer_event(xhci_hc_t *hc, xhci_endpoint_t *ep, xhci_trb_t *trb)
     574void isoch_handle_transfer_event(xhci_hc_t *hc, xhci_endpoint_t *ep, xhci_trb_t *trb)
    575575{
    576576        assert(ep->base.transfer_type == USB_TRANSFER_ISOCHRONOUS);
     
    591591                        fibril_condvar_broadcast(&ep->isoch->avail);
    592592                        fibril_mutex_unlock(&ep->isoch->guard);
    593                         return EOK;
     593                        goto out;
    594594                case XHCI_TRBC_SHORT_PACKET:
    595595                case XHCI_TRBC_SUCCESS:
     
    641641        timer_schedule_reset(ep);
    642642
     643out:
    643644        fibril_condvar_broadcast(&ep->isoch->avail);
    644645        fibril_mutex_unlock(&ep->isoch->guard);
    645         return EOK;
    646646}
    647647
Note: See TracChangeset for help on using the changeset viewer.