[Bug 230434] USB sound card fails to record
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 16 13:28:01 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434
--- Comment #22 from Hans Petter Selasky <hselasky at 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 == HCSPLT_XACTPOS_BEGIN) {
goto complete;
+ } else if (td->hcsplt != 0) {
+ /* get next CSPLIT packet */
+ goto receive_pkt;
} else {
/* get more packets */
goto busy;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list