Changeset 2cf28b9 in mainline for uspace/lib/usbhost/src/bus.c


Ignore:
Timestamp:
2017-10-25T15:22:45Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62558202
Parents:
f668d60
Message:

xhci: connecting devices deeper than to roothub

It still does not work, because the address command fails, but there should not be any fundamental problem.

File:
1 edited

Legend:

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

    rf668d60 r2cf28b9  
    8787                return ENOTSUP;
    8888
    89         fibril_mutex_lock(&bus->guard);
    90         const int r = bus->ops.enumerate_device(bus, hcd, dev);
    91         fibril_mutex_unlock(&bus->guard);
    92         return r;
     89        return bus->ops.enumerate_device(bus, hcd, dev);
    9390}
    9491
     
    10198                return ENOTSUP;
    10299
    103         fibril_mutex_lock(&bus->guard);
    104         const int r = bus->ops.remove_device(bus, hcd, dev);
    105         fibril_mutex_unlock(&bus->guard);
    106         return r;
     100        return bus->ops.remove_device(bus, hcd, dev);
    107101}
    108102
Note: See TracChangeset for help on using the changeset viewer.