Changeset 7010861 in mainline for uspace/drv/bus
- Timestamp:
- 2017-10-27T11:39:59Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8b8c164
- Parents:
- 3f6c94ed
- File:
- 
      - 1 edited
 
 - 
          
  uspace/drv/bus/usb/xhci/transfers.c (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      uspace/drv/bus/usb/xhci/transfers.cr3f6c94ed r7010861 320 320 } 321 321 322 // FIXME: find a better way to check if the ring is not initialized 323 if (!xhci_ep->ring.segment_count) { 324 usb_log_error("Ring not initialized for endpoint num %u!", xhci_ep->base.endpoint); 325 return EINVAL; 326 } 327 322 328 const usb_transfer_type_t type = batch->ep->transfer_type; 323 329 assert(type >= 0 && type < ARRAY_SIZE(transfer_handlers)); … … 328 334 } 329 335 336 330 337 if (batch->dir != USB_DIRECTION_IN) { 331 338 // Sending stuff from host to device, we need to copy the actual data. 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
