Author: ian
Date: Thu Jul 5 15:52:26 2018
New Revision: 335988
URL: https://svnweb.freebsd.org/changeset/base/335988
Log:
Add a missing call to usb_bus_mem_free_all() when detaching.
Modified:
head/sys/arm/freescale/vybrid/vf_ehci.c
Modified: head/sys/arm/freescale/vybrid/vf_ehci.c
==============================================================================
--- head/sys/arm/freescale/vybrid/vf_ehci.c Thu Jul 5 15:40:14 2018
(r335987)
+++ head/sys/arm/freescale/vybrid/vf_ehci.c Thu Jul 5 15:52:26 2018
(r335988)
@@ -421,6 +421,8 @@ vybrid_ehci_detach(device_t dev)
sc->sc_intr_hdl = NULL;
}
+ usb_bus_mem_free_all(&sc->sc_bus, &ehci_iterate_hw_softc);
+
bus_release_resources(dev, vybrid_ehci_spec, esc->res);
return (0);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"