Changeset 70fb822 in mainline for uspace/drv/bus/usb/uhci/uhci_batch.c


Ignore:
Timestamp:
2011-08-31T18:21:48Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f18d82f0
Parents:
ff6dd73
Message:

libusbhost: change usb_transfer_batch_T handling to get/dispose pair

libusbhost: release endpoint on batch dispose, to be consistent with acquire on get (and avoid deadlock on error path)
uhci: usb_transfer_batch_finish is no longer necessary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/uhci_batch.c

    rff6dd73 r70fb822  
    7676        if (uhci_batch->usb_batch->callback_in)
    7777                usb_transfer_batch_call_in(uhci_batch->usb_batch);
    78         usb_transfer_batch_finish(uhci_batch->usb_batch);
    7978        uhci_transfer_batch_dispose(uhci_batch);
    8079}
Note: See TracChangeset for help on using the changeset viewer.