mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
usb: Add missing unsetup while detaching uchcom
Reviewed by: christos MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57329
This commit is contained in:
1 parent
9c04895086
commit
2934783fa8
1 file changed
+1
@@ -404,6 +404,7 @@ uchcom_detach(device_t dev)
|
||||
DPRINTFN(11, "\n");
|
||||
|
||||
ucom_detach(&sc->sc_super_ucom, &sc->sc_ucom);
|
||||
usbd_transfer_unsetup(&sc->sc_intr_xfer, 1);
|
||||
usbd_transfer_unsetup(sc->sc_xfer, UCHCOM_N_TRANSFER);
|
||||
|
||||
device_claim_softc(dev);
|
||||
|
||||
Reference in new issue
Block a user