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

    r7bdfcaf rf3ae58b  
    6363}
    6464
     65static void ehci_device_gone(device_t *dev)
     66{
     67        ehci_bus_t *bus = (ehci_bus_t *) dev->bus;
     68        usb2_bus_device_gone(&bus->helper, dev);
     69}
     70
    6571/** Creates new hcd endpoint representation.
    6672 */
     
    163169
    164170        .device_enumerate = ehci_device_enumerate,
     171        .device_gone = ehci_device_gone,
    165172
    166173        .endpoint_destroy = ehci_endpoint_destroy,
Note: See TracChangeset for help on using the changeset viewer.