Changeset 4c25c2f in mainline for uspace/lib/usbhost/src/usb2_bus.c


Ignore:
Timestamp:
2018-01-15T15:02:57Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
745a3f1
Parents:
01d9707
Message:

usbhost: move managing TT to the library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb2_bus.c

    r01d9707 r4c25c2f  
    196196        usb_log_debug("Found new %s speed USB device.", usb_str_speed(dev->speed));
    197197
    198         if (!dev->hub) {
    199                 /* The device is the roothub */
    200                 dev->tt = (usb_tt_address_t) {
    201                         .address = -1,
    202                         .port = 0,
    203                 };
    204         } else {
    205                 hcd_setup_device_tt(dev);
    206         }
    207 
    208198        /* Assign an address to the device */
    209199        if ((err = address_device(dev))) {
Note: See TracChangeset for help on using the changeset viewer.