Changeset f3ae58b in mainline for uspace/lib/usbhost/src/usb2_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/lib/usbhost/src/usb2_bus.c

    r7bdfcaf rf3ae58b  
    203203}
    204204
     205void usb2_bus_device_gone(usb2_bus_helper_t *helper, device_t *dev)
     206{
     207        release_address(helper, dev->address);
     208}
     209
    205210/**
    206211 * Register an endpoint to the bus. Reserves bandwidth.
Note: See TracChangeset for help on using the changeset viewer.