Changeset 5ef3afd in mainline for uspace/drv/bus/usb/xhci/isoch.c
- Timestamp:
- 2018-02-24T19:51:28Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 39f1c86
- Parents:
- 95f1b8f
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-02-24 18:43:36)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-02-24 19:51:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/isoch.c
r95f1b8f r5ef3afd 597 597 598 598 switch (completion_code) { 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 599 case XHCI_TRBC_RING_OVERRUN: 600 case XHCI_TRBC_RING_UNDERRUN: 601 /* 602 * For OUT, there was nothing to process. 603 * For IN, the buffer has overfilled. 604 * In either case, reset the ring. 605 */ 606 usb_log_warning("Ring over/underrun."); 607 isoch_reset_no_timer(ep); 608 fibril_condvar_broadcast(&ep->isoch->avail); 609 fibril_mutex_unlock(&ep->isoch->guard); 610 goto out; 611 case XHCI_TRBC_SHORT_PACKET: 612 case XHCI_TRBC_SUCCESS: 613 err = EOK; 614 break; 615 default: 616 usb_log_warning("Transfer not successfull: %u", completion_code); 617 err = EIO; 618 break; 619 619 } 620 620
Note:
See TracChangeset
for help on using the changeset viewer.