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

Changeset 17d34a8 in mainline


Ignore:
Timestamp:
2018-02-01T02:19:31Z (2 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
master
Children:
77ded647
Parents:
19f0048
Message:

xhci: finalize rh correctly

File:
1 edited

Legend:

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

    r19f0048 r17d34a8  
    122122{
    123123        assert(rh);
    124         for (unsigned i = 0; i < rh->max_ports; i++)
    125                 usb_port_fini(&rh->ports[i].base);
    126 
    127         xhci_sw_ring_stop(&rh->event_ring);
    128         joinable_fibril_join(rh->event_worker);
     124        xhci_rh_stop(rh);
     125
     126        joinable_fibril_destroy(rh->event_worker);
    129127        xhci_sw_ring_fini(&rh->event_ring);
    130128        return EOK;
Note: See TracChangeset for help on using the changeset viewer.