You need to sign in or sign up before continuing.
  • Bin Liu's avatar
    usb: musb: cppi41: improve rx channel abort routine · c387e4da
    Bin Liu authored
    commit cb83df77
    
     upstream.
    
    1. set AUTOREQ to NONE at the beginning of teardown;
    
    2. add delay for dma pipeline to drain;
    
    3. Do not set USB_TDOWN bit for RX teardown.
    
      The CPPI hw has an issue that when tearing down a RX channel, if
      another RX channel is receiving data, the CPPI will lockup.
    
      To workaround the issue, do not set the CPPI TD bit. The steps before
      this point ensures the CPPI channel will be torn down properly.
    Signed-off-by: default avatarBin Liu <b-liu@ti.com>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    Cc: Oliver Neukum <ONeukum@suse.com>
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    c387e4da
musb_cppi41.c 17.6 KB