Date: Tue, 09 Jun 2026 11:28:38 +0000 From: ShengYi Hung <aokblast@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2934783fa80d - main - usb: Add missing unsetup while detaching uchcom Message-ID: <6a27f8e6.324fa.4b387331@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=2934783fa80de2854d9527ae11db85c47ac65a91 commit 2934783fa80de2854d9527ae11db85c47ac65a91 Author: ShengYi Hung <aokblast@FreeBSD.org> AuthorDate: 2026-05-29 15:09:52 +0000 Commit: ShengYi Hung <aokblast@FreeBSD.org> CommitDate: 2026-06-09 11:28:27 +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 --- 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?6a27f8e6.324fa.4b387331>
