Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 93757c5 in mainline


Ignore:
Timestamp:
2018-01-13T12:25:38Z (4 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master
Children:
37b13175
Parents:
bf601313
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-13 12:24:26)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-13 12:25:38)
Message:

xhci rh: device tree is built by bus already

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/rh.c

    rbf601313 r93757c5  
    196196
    197197        fibril_mutex_lock(&rh->device.base.guard);
    198         list_append(&dev->link, &rh->device.base.devices);
    199198        rh->devices_by_port[port_id - 1] = xhci_dev;
    200199        fibril_mutex_unlock(&rh->device.base.guard);
     
    277276        /* Mark the device as detached. */
    278277        fibril_mutex_lock(&rh->device.base.guard);
    279         list_remove(&dev->base.link);
    280278        rh->devices_by_port[port_id - 1] = NULL;
    281279        fibril_mutex_unlock(&rh->device.base.guard);
Note: See TracChangeset for help on using the changeset viewer.