MLK-22366-1 usb: cdns3: gadget: enlarge the TD list
authorPeter Chen <peter.chen@nxp.com>
Mon, 22 Jul 2019 08:59:50 +0000 (16:59 +0800)
committerPeter Chen <peter.chen@nxp.com>
Fri, 30 Aug 2019 08:17:18 +0000 (16:17 +0800)
At Android ADB and MTP use case, TD consumes very fast compared to TD has
finished, so we need to enlarge the TD list to avoid "no free TD error".

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/gadget.h

index 5188f9b..b91b24e 100644 (file)
@@ -902,7 +902,7 @@ struct cdns3_usb_regs {
 /*
  * USBSS-DEV DMA interface.
  */
-#define TRBS_PER_SEGMENT       40
+#define TRBS_PER_SEGMENT       150
 
 #define ISO_MAX_INTERVAL       10