usb: pd: Decrease FIRST_SOURCE_CAP_TIME to 100ms
PD 2.0 compliance test TDB.2.2.13.1 check for sending
Source Capabilities within tFirstSourceCap max (250ms) of
VBUS reaching vSafe5v min. Currently driver is using 200ms
delay for sending out the first source capabilities, the
additional delay may push it beyond the spec max of
tFirstSourceCap (250ms).Decrease the FIRST_SOURCE_CAP_TIME
delay to 100ms to give some more room.
Change-Id: I2b92b31ebf966f549b2182aea594e02993217e9a
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
diff --git a/drivers/usb/pd/policy_engine.c b/drivers/usb/pd/policy_engine.c
index 1e672a5..3811792 100644
--- a/drivers/usb/pd/policy_engine.c
+++ b/drivers/usb/pd/policy_engine.c
@@ -249,7 +249,7 @@ static void *usbpd_ipc_log;
#define PS_HARD_RESET_TIME 25
#define PS_SOURCE_ON 400
#define PS_SOURCE_OFF 750
-#define FIRST_SOURCE_CAP_TIME 200
+#define FIRST_SOURCE_CAP_TIME 100
#define VDM_BUSY_TIME 50
#define VCONN_ON_TIME 100