From: Wu, Hao Date: Tue, 24 Apr 2012 13:49:41 +0000 (+0800) Subject: usb/penwell_otg: update DCD interval and timeout in charger detection flow X-Git-Tag: 2.1b_release~874 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b0c6d37ab379573dff786ce4825490d036ad841;p=kernel%2Fkernel-mfld-blackbay.git usb/penwell_otg: update DCD interval and timeout in charger detection flow BZ: 33161 Update DCD timeout and interval to meet Battery Charging 1.2 Spec requirement. Change-Id: I1386cf835eb72f7267f9019e55771478776fb907 Signed-off-by: Wu, Hao Reviewed-on: http://android.intel.com:8080/45939 Reviewed-by: Tang, Richard Reviewed-by: Meng, Zhe Tested-by: Meng, Zhe Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/include/linux/usb/penwell_otg.h b/include/linux/usb/penwell_otg.h index c618363..f1cff3d 100644 --- a/include/linux/usb/penwell_otg.h +++ b/include/linux/usb/penwell_otg.h @@ -327,8 +327,8 @@ #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,