Add descriptive comment.

This commit is contained in:
Hans Petter Selasky 2013-04-23 06:26:54 +00:00
parent 2e35ea7323
commit 0cfbd57ebc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249786

View File

@ -554,6 +554,12 @@ xhci_init(struct xhci_softc *sc, device_t self)
void void
xhci_uninit(struct xhci_softc *sc) 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); usb_bus_mem_free_all(&sc->sc_bus, &xhci_iterate_hw_softc);
cv_destroy(&sc->sc_cmd_cv); cv_destroy(&sc->sc_cmd_cv);