Changeset f3ae58b in mainline for uspace/drv/bus/usb/uhci/hc.c


Ignore:
Timestamp:
2018-01-29T14:10:47Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1bab1c8
Parents:
7bdfcaf
Message:

libusbhost: usb2_bus needs to release address when the device is gone

File:
1 edited

Legend:

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

    r7bdfcaf rf3ae58b  
    412412}
    413413
     414static void device_gone(device_t *dev)
     415{
     416        hc_t * const hc = bus_to_hc(dev->bus);
     417        usb2_bus_device_gone(&hc->bus_helper, dev);
     418}
     419
    414420static int hc_status(bus_t *, uint32_t *);
    415421static int hc_schedule(usb_transfer_batch_t *);
     
    420426
    421427        .device_enumerate = device_enumerate,
     428        .device_gone = device_gone,
    422429
    423430        .endpoint_create = endpoint_create,
Note: See TracChangeset for help on using the changeset viewer.