Date: Thu, 5 Jul 2018 15:52:26 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335988 - head/sys/arm/freescale/vybrid Message-ID: <201807051552.w65FqROS022990@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807051552.w65FqROS022990>