HomeFreeBSD

usb: Use bus_detach_children instead of bus_generic_detach

Description

usb: Use bus_detach_children instead of bus_generic_detach

The USB bus performs additional teardown steps in between detaching
child devices and deleting child devices.

Reported by: phk, thj
Tested by: phk
Fixes: e9d3857040a1 ("Use bus_detach_children instead of bus_generic_detach")

Details

Provenance
jhbAuthored on Wed, Mar 12, 2:53 PM
Parents
rG43a15a22c623: mtx: Include the mutex pointer in the panic message for destroyed locks
Branches
Unknown
Tags
Unknown