Changeset f3ae58b in mainline for uspace/drv/bus/usb/ohci/ohci_bus.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/ohci/ohci_bus.c

    r7bdfcaf rf3ae58b  
    6363}
    6464
     65static void ohci_device_gone(device_t *dev)
     66{
     67        ohci_bus_t *bus = (ohci_bus_t *) dev->bus;
     68        usb2_bus_device_gone(&bus->helper, dev);
     69}
     70
    6571/** Creates new hcd endpoint representation.
    6672 */
     
    172178
    173179        .device_enumerate = ohci_device_enumerate,
     180        .device_gone = ohci_device_gone,
    174181
    175182        .endpoint_destroy = ohci_endpoint_destroy,
Note: See TracChangeset for help on using the changeset viewer.