Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2026 20:57: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: 6a606e777326 - stable/14 - usb: Add missing unsetup while detaching uchcom
Message-ID:  <6a3af327.1bb96.292d51cd@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by aokblast:

URL: https://cgit.FreeBSD.org/src/commit/?id=6a606e7773262ed1e22ea1cf132eb5a87dea5da1

commit 6a606e7773262ed1e22ea1cf132eb5a87dea5da1
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:57:03 +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?6a3af327.1bb96.292d51cd>