Changeset 8b8c164 in mainline for uspace/lib/usbhost/src/bus.c


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

libusbhost bus: endpoint→device is now managed by bus implementation

That allows xhci to better isolate responsibilities.

File:
1 edited

Legend:

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

    r7010861 r8b8c164  
    117117        endpoint_add_ref(ep);
    118118
    119         ep->device = device;
    120         if ((err = bus->ops.register_endpoint(bus, ep, desc)))
     119        if ((err = bus->ops.register_endpoint(bus, device, ep, desc)))
    121120                goto err_ep;
    122121
Note: See TracChangeset for help on using the changeset viewer.