Add descriptive comment.
This commit is contained in:
parent
2e35ea7323
commit
0cfbd57ebc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249786
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user