From 724e9bb8c5013e496ad64f61a11278d5dfb9290b Mon Sep 17 00:00:00 2001 From: "Wu, Hao" Date: Tue, 27 Mar 2012 22:43:12 +0800 Subject: [PATCH] usb/penwell_otg: increase timeout to keep Vbus invalid in idle state. BZ: 28539 This patch workaround resolved the issue VBUS will not stay off for 5s. Also increase A_WAIT_BCON timer for better user experience. Change-Id: I3c9e24200187081a72425a52ee179019512dde10 Signed-off-by: Wu, Hao Reviewed-on: http://android.intel.com:8080/40951 Reviewed-by: Zhuang, Jin Can Reviewed-by: Tang, Richard Reviewed-by: Li, Wenji Reviewed-by: Meng, Zhe Tested-by: Meng, Zhe Reviewed-by: buildbot Tested-by: buildbot --- include/linux/usb/penwell_otg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/usb/penwell_otg.h b/include/linux/usb/penwell_otg.h index 066c483..c95c13f 100644 --- a/include/linux/usb/penwell_otg.h +++ b/include/linux/usb/penwell_otg.h @@ -344,10 +344,10 @@ enum penwell_otg_timer_type { }; #define TA_WAIT_VRISE 100 -#define TA_WAIT_BCON 15000 +#define TA_WAIT_BCON 28000 #define TA_AIDL_BDIS 1500 #define TA_BIDL_ADIS 300 -#define TA_WAIT_VFALL 950 +#define TA_WAIT_VFALL 5500 #define TB_ASE0_BRST 300 #define TB_SE0_SRP 1200 #define TB_SSEND_SRP 1800 -- 2.7.4