Re: xhci data toggle out of sync
- Reply: Mahesh Vardhamanaiah : "RE: xhci data toggle out of sync"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Apr 2022 11:32:58 UTC
On 4/19/22 12:59, Kamal Prasad wrote: > Hi Peter, > >>> Which is not a valid return code from xhci_do_command(). Can you check > where this value comes from? > > This is coming from this location in xhci_configure_endpoint() which in turn is called by xhci_configure_endpoint_by_xfer():- > --- > epno = XHCI_EPNO2EPID(epno); > > if (epno == 0) > return (USB_ERR_NO_PIPE); /* invalid */ > --- Hi Kamal, I'm asking about the value after "err" in these prints: > > xhci0: MMV Could not stop endpoint 3 err 12 > > xhci0: MMV Could not reset endpoint 3 err 12 3875 3876 err = xhci_cmd_stop_ep(sc, 0, epno, index); 3877 3878 if (err != 0) 3879 DPRINTF("Could not stop endpoint %u\n", epno); 3880 3881 err = xhci_cmd_reset_ep(sc, 0, epno, index); 3882 3883 if (err != 0) 3884 DPRINTF("Could not reset endpoint %u\n", epno); 3885 --HPS