• Ajay Kumar Gupta's avatar
    usb: musb: NAK timeout scheme on bulk TX endpoint · f283862f
    Ajay Kumar Gupta authored
    Fixes endpoint starvation issue when more than one bulk QH is
    multiplexed on the reserved bulk TX endpoint.
    
    This patch sets the NAK timeout interval for such QHs, and when
    a timeout triggers the next QH will be scheduled.
    
    This scheme doesn't work for devices which are connected to a
    high to full speed tree (transaction translator) as there is
    no NAK timeout interrupt from the musb controller from such
    devices.
    Signed-off-by: default avatarAjay Kumar Gupta <ajay.gupta@ti.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    f283862f
musb_host.c 65.5 KB