Changeset 998773d in mainline for uspace/drv/bus/usb/xhci/streams.c
- Timestamp:
- 2018-01-22T14:27:24Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- effbef3
- Parents:
- db51a6a6
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-22 14:11:42)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-22 14:27:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/streams.c
rdb51a6a6 r998773d 154 154 155 155 /* Init and register TRB ring for the primary stream */ 156 if ((err = xhci_trb_ring_init(&data->ring ))) {156 if ((err = xhci_trb_ring_init(&data->ring, 0))) { 157 157 return err; 158 158 } … … 233 233 xhci_stream_data_t *secondary_data = &data->secondary_data[index]; 234 234 /* Init and register TRB ring for every secondary stream */ 235 if ((err = xhci_trb_ring_init(&secondary_data->ring ))) {235 if ((err = xhci_trb_ring_init(&secondary_data->ring, 0))) { 236 236 goto err_init; 237 237 } … … 332 332 /* Streams are now removed, proceed with reconfiguring endpoint. */ 333 333 int err; 334 if ((err = xhci_trb_ring_init(&xhci_ep->ring ))) {334 if ((err = xhci_trb_ring_init(&xhci_ep->ring, 0))) { 335 335 usb_log_error("Failed to initialize a transfer ring."); 336 336 return err;
Note:
See TracChangeset
for help on using the changeset viewer.