• Felipe Balbi's avatar
    usb: dwc3: gadget: check if dep->frame_number is still valid · d5370106
    Felipe Balbi authored
    Gadget driver may take an unbounded amount of time to queue requests
    after XferNotReady. This is important for isochronous endpoints which
    need to be started for a specific (micro-)frame.
    
    If we fail to start a transfer for isochronous endpoint, let's try
    queueing to a future interval and see if that helps. We will stop trying
    if we fail a start transfer for 5 intervals in the future.
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    d5370106
gadget.c 84.7 KB