Changeset 2770b66 in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2017-10-15T15:05:06Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 816f5f4
- Parents:
- 20eaa82
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r20eaa82 r2770b66 213 213 goto err_scratch; 214 214 215 if ((err = xhci_init_transfers(hc))) 216 goto err_cmd; 217 215 218 if ((err = xhci_rh_init(&hc->rh, hc))) 216 goto err_ cmd;219 goto err_transfers; 217 220 218 221 if ((err = xhci_bus_init(&hc->bus))) … … 224 227 err_rh: 225 228 xhci_rh_fini(&hc->rh); 229 err_transfers: 230 xhci_fini_transfers(hc); 226 231 err_cmd: 227 232 xhci_fini_commands(hc); … … 472 477 case USB_TRANSFER_ISOCHRONOUS: 473 478 /* TODO: Implement me. */ 474 break; 479 usb_log_error("Isochronous transfers are not yet implemented!"); 480 return ENOTSUP; 475 481 case USB_TRANSFER_BULK: 476 482 return xhci_schedule_bulk_transfer(hc, batch); 477 483 case USB_TRANSFER_INTERRUPT: 478 484 /* TODO: Implement me. */ 479 break; 485 usb_log_error("Interrupt transfers are not yet implemented!"); 486 return ENOTSUP; 480 487 } 481 488 … … 617 624 xhci_event_ring_fini(&hc->event_ring); 618 625 hc_dcbaa_fini(hc); 626 xhci_fini_transfers(hc); 619 627 xhci_fini_commands(hc); 620 628 xhci_rh_fini(&hc->rh);
Note:
See TracChangeset
for help on using the changeset viewer.