Changeset 2cc6e97 in mainline for uspace/drv/ohci/iface.c


Ignore:
Timestamp:
2011-04-12T14:07:02Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d932af6
Parents:
910ca3f
Message:

Move more functionality to libUSB usb_transfer_batch_t

UHCI uses one device accessible buffer for both structures and data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/iface.c

    r910ca3f r2cc6e97  
    228228        ret = hc_schedule(hc, batch);
    229229        if (ret != EOK) {
    230                 batch_dispose(batch);
     230                usb_transfer_batch_dispose(batch);
    231231        }
    232232        return ret;
     
    262262        ret = hc_schedule(hc, batch);
    263263        if (ret != EOK) {
    264                 batch_dispose(batch);
     264                usb_transfer_batch_dispose(batch);
    265265        }
    266266        return ret;
     
    296296        ret = hc_schedule(hc, batch);
    297297        if (ret != EOK) {
    298                 batch_dispose(batch);
     298                usb_transfer_batch_dispose(batch);
    299299        }
    300300        return ret;
     
    330330        ret = hc_schedule(hc, batch);
    331331        if (ret != EOK) {
    332                 batch_dispose(batch);
     332                usb_transfer_batch_dispose(batch);
    333333        }
    334334        return ret;
     
    370370        ret = hc_schedule(hc, batch);
    371371        if (ret != EOK) {
    372                 batch_dispose(batch);
     372                usb_transfer_batch_dispose(batch);
    373373        }
    374374        return ret;
     
    409409        ret = hc_schedule(hc, batch);
    410410        if (ret != EOK) {
    411                 batch_dispose(batch);
     411                usb_transfer_batch_dispose(batch);
    412412        }
    413413        return ret;
Note: See TracChangeset for help on using the changeset viewer.