• Pratyush Anand's avatar
    usb: dwc3: gadget: fix pending isoc handling · f4a53c55
    Pratyush Anand authored
    If xfernotready is received and there is no request in request_list then
    REQUEST_PENDING flag must be set, so that next request in ep queue is executed.
    
    In case of isoc transfer, if xfernotready is already elapsed and even first
    request has not been queued to request_list, then issue END TRANSFER, so that
    you can receive xfernotready again and can have notion of current microframe.
    Signed-off-by: default avatarPratyush Anand <pratyush.anand@st.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    f4a53c55
gadget.c 61.9 KB