Skip to content

Commit

Permalink
Add descriptive comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
hselasky committed Apr 23, 2013
1 parent 2e35ea7 commit 0cfbd57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sys/dev/usb/controller/xhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,12 @@ xhci_init(struct xhci_softc *sc, device_t self)
void
xhci_uninit(struct xhci_softc *sc)
{
/*
* NOTE: At this point the control transfer process is gone
* and "xhci_configure_msg" is no longer called. Consequently
* waiting for the configuration messages to complete is not
* needed.
*/
usb_bus_mem_free_all(&sc->sc_bus, &xhci_iterate_hw_softc);

cv_destroy(&sc->sc_cmd_cv);
Expand Down

0 comments on commit 0cfbd57

Please sign in to comment.