mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
Add a missing call to usb_bus_mem_free_all() when detaching.
This commit is contained in:
parent
9a263af1dc
commit
80c8ba2869
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335988
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user