Changeset 51c1d500 in mainline for uspace/drv/bus/usb/xhci/isoch.c
- Timestamp:
- 2018-01-20T17:16:33Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6271a34
- Parents:
- abb5d08
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/isoch.c
rabb5d08 r51c1d500 347 347 out: 348 348 if (fed) { 349 const uint8_t slot_id = xhci_device_get(ep->base.device)->slot_id; 350 const uint8_t target = xhci_endpoint_index(ep) + 1; /* EP Doorbells start at 1 */ 351 hc_ring_doorbell(hc, slot_id, target); 349 hc_ring_ep_doorbell(ep, 0); 352 350 /* The ring may be dead. If no event happens until the delay, reset the endpoint. */ 353 351 timer_schedule_reset(ep); … … 436 434 437 435 if (fed) { 438 const uint8_t slot_id = xhci_device_get(ep->base.device)->slot_id; 439 const uint8_t target = xhci_endpoint_index(ep) + 1; /* EP Doorbells start at 1 */ 440 hc_ring_doorbell(hc, slot_id, target); 436 hc_ring_ep_doorbell(ep, 0); 441 437 /* The ring may be dead. If no event happens until the delay, reset the endpoint. */ 442 438 timer_schedule_reset(ep);
Note:
See TracChangeset
for help on using the changeset viewer.