Date: Tue, 23 Jun 2026 20:53:11 +0000 From: ShengYi Hung <aokblast@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 6c9fbc4c7e62 - stable/15 - usb: Add missing unsetup while detaching uchcom Message-ID: <6a3af237.1a24e.7c4d7d5f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=6c9fbc4c7e627776f8004b9533212684a4f932c2 commit 6c9fbc4c7e627776f8004b9533212684a4f932c2 Author: ShengYi Hung <aokblast@FreeBSD.org> AuthorDate: 2026-05-29 15:09:52 +0000 Commit: ShengYi Hung <aokblast@FreeBSD.org> CommitDate: 2026-06-23 20:52:58 +0000 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 (cherry picked from commit 2934783fa80de2854d9527ae11db85c47ac65a91) --- sys/dev/usb/serial/uchcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/usb/serial/uchcom.c b/sys/dev/usb/serial/uchcom.c index fdc5515fa722..ff1ac8897c90 100644 --- a/sys/dev/usb/serial/uchcom.c +++ b/sys/dev/usb/serial/uchcom.c @@ -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);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a3af237.1a24e.7c4d7d5f>
