Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2018 13:27:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 230434] USB sound card fails to record
Message-ID:  <bug-230434-19105-oGgpga1Y4H@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230434-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230434-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230434

--- Comment #22 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Hi,

I managed to reproduce the issue. It is a minor issue in the chipdriver DWC
OTG.

I'm currently testing some patches. Stay tuned.

--HPS

diff --git a/sys/dev/usb/controller/dwc_otg.c
b/sys/dev/usb/controller/dwc_otg.c
index 6bf42b98b7f..5d58e779ff1 100644
--- a/sys/dev/usb/controller/dwc_otg.c
+++ b/sys/dev/usb/controller/dwc_otg.c
@@ -1458,6 +1458,9 @@ dwc_otg_host_data_rx(struct dwc_otg_softc *sc, struct
dwc_otg_td *td)
                                /* check if we are complete */
                                if (td->tt_xactpos =3D=3D HCSPLT_XACTPOS_BE=
GIN) {
                                        goto complete;
+                               } else if (td->hcsplt !=3D 0) {
+                                       /* get next CSPLIT packet */
+                                       goto receive_pkt;
                                } else {
                                        /* get more packets */
                                        goto busy;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230434-19105-oGgpga1Y4H>