https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230434

--- Comment #22 from Hans Petter Selasky <hsela...@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.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to