MLK-9618-9 usb: chipidea: otg: change TA_BIDL_ADIS to be 160ms
authorLi Jun <B47624@freescale.com>
Thu, 16 Oct 2014 14:18:02 +0000 (22:18 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:14 +0000 (14:47 -0500)
This patch is to fix one OTG HNP timing requirement, TA_BIDL_ADIS should be
in range of 155ms~200ms per OTG spec 2.0 reverion 1.1a.

Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit a6de1be200984b01d784f6558229adbb67fcb380)
(cherry picked from commit a94422371328c620f4b37520868ad3f96ec2e165)

drivers/usb/chipidea/otg_fsm.h

index 21f89df..8802804 100644 (file)
@@ -38,9 +38,8 @@
                                         * TA_AIDL_BDIS: section 5.5, Table 5-1
                                         */
 /* B-Idle to A-Disconnect */
-#define TA_BIDL_ADIS         (500)     /* TA_BIDL_ADIS: section 5.2.1
-                                        * 500ms is used for B switch to host
-                                        * for safe
+#define TA_BIDL_ADIS         (160)     /* TA_BIDL_ADIS: section 5.2.1
+                                        * 155ms ~ 200 ms
                                         */
 
 #define TA_DP_END             (200)