Changeset 5cfcc64 in mainline for uspace/drv/bus/usb


Ignore:
Timestamp:
2011-12-06T12:19:15Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6bba41d
Parents:
2582d8f
Message:

libusbhost: User both stored error value and transferred size in the finish wrapper.

Location:
uspace/drv/bus/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_batch.c

    r2582d8f r5cfcc64  
    7070        assert(ohci_batch->usb_batch);
    7171        usb_transfer_batch_finish(ohci_batch->usb_batch,
    72             ohci_batch->device_buffer + ohci_batch->usb_batch->setup_size,
    73             ohci_batch->usb_batch->buffer_size);
     72            ohci_batch->device_buffer + ohci_batch->usb_batch->setup_size);
    7473        ohci_transfer_batch_dispose(ohci_batch);
    7574}
  • uspace/drv/bus/usb/uhci/uhci_batch.c

    r2582d8f r5cfcc64  
    6464        assert(uhci_batch->usb_batch);
    6565        usb_transfer_batch_finish(uhci_batch->usb_batch,
    66             uhci_transfer_batch_data_buffer(uhci_batch),
    67             uhci_batch->usb_batch->buffer_size);
     66            uhci_transfer_batch_data_buffer(uhci_batch));
    6867        uhci_transfer_batch_dispose(uhci_batch);
    6968}
Note: See TracChangeset for help on using the changeset viewer.