On Fri, 12 Jul 2013, Felipe Balbi wrote: > > As can be seen in the gadget driver log below, after Set-Config > > request is received, another two more requests are received before > > handle_exception() is called. If there is a way to call > > handle_exception() immediately after Set-Config request, it would be > > very helpful. > > this is clearly a bug in your driver, host wouldn't send you more > requests unless you acknowledge the previous one. I agree; the UDC must have told the host that the request was already complete. > You should be naking > those extra requests until you're ready to ack. Well, that's not quite right. Devices cannot NAK new control requests; a NAK is not a valid response to a SETUP packet. > Frankly, we have quite a few UDC drivers passing all USBCV tests. 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