Author: kib
Date: Sat Sep 15 13:07:43 2018
New Revision: 338693
URL: https://svnweb.freebsd.org/changeset/base/338693
Log:
MFC r338534:
intelspi: don't leak spibus children on detach.
Modified:
stable/11/sys/dev/intel/spi.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/intel/spi.c
==============================================================================
--- stable/11/sys/dev/intel/spi.c Sat Sep 15 09:03:50 2018
(r338692)
+++ stable/11/sys/dev/intel/spi.c Sat Sep 15 13:07:43 2018
(r338693)
@@ -506,7 +506,7 @@ intelspi_detach(device_t dev)
bus_release_resource(dev, SYS_RES_IRQ,
sc->sc_irq_rid, sc->sc_irq_res);
- return (0);
+ return (bus_generic_detach(dev));
}
static device_method_t intelspi_methods[] = {
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"