usb/penwell_otg: update DCD interval and timeout in charger detection flow
authorWu, Hao <hao.wu@intel.com>
Tue, 24 Apr 2012 13:49:41 +0000 (21:49 +0800)
committerbuildbot <buildbot@intel.com>
Fri, 27 Apr 2012 11:30:12 +0000 (04:30 -0700)
BZ: 33161

Update DCD timeout and interval to meet Battery Charging 1.2 Spec
requirement.

Change-Id: I1386cf835eb72f7267f9019e55771478776fb907
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/45939
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: Meng, Zhe <zhe.meng@intel.com>
Tested-by: Meng, Zhe <zhe.meng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
include/linux/usb/penwell_otg.h

index c618363..f1cff3d 100644 (file)
 #define FS_ADPI_MASK   (ADPIS_ADPRAMPI | ADPIS_SNSMISSI | ADPIS_PRBTRGI)
 
 /* define Data connect checking timeout and polling interval */
-#define DATACON_TIMEOUT                1000
-#define DATACON_INTERVAL       50
+#define DATACON_TIMEOUT                750
+#define DATACON_INTERVAL       10
 
 enum penwell_otg_timer_type {
        TA_WAIT_VRISE_TMR,