On Thu, 20 Aug 2015, Felipe Balbi wrote: > > > Doesn't Peter need to cope with differentiating protocol vs non-protocol > > > stalls ? > > > > Those matter only for ep0, not for bulk/interrupt. > > huh ? usbtest send SetFeature(HALT) for the bulk endpoint, right ? > That's what Peter's UDC driver is missing. It's this special case of > halting the endpoint when the host asks it to regardless of having > queued struct usb_requests or not. Yes, that's what I said. Peter's UDC driver doesn't handle halts for bulk endpoints properly. But the difference between protocol and functional (or non-protocol) stalls matters only for ep0, not for bulk/interrupt, so it's not relevant to Peter's problem. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html