• Felipe Balbi's avatar
    usb: dwc3: gadget: don't prestart interrupt endpoints · 62e345ae
    Felipe Balbi authored
    Because interrupt endpoints usually transmit such
    small amounts of data, it seems pointless to prestart
    transfers and try to get speed improvements. This
    patch also sorts out a problem with CDC ECM function
    where its notification endpoint gets stuck in busy
    state and we continuously issue Update Transfer
    commands.
    
    Fixes: 8a1a9c9e ("usb: dwc3: gadget: start transfer on XFER_COMPLETE")
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    62e345ae
gadget.c 69.7 KB