mfd: fusb302: fix some variable following PD specification
authorzain wang <wzz@rock-chips.com>
Fri, 19 May 2017 06:00:46 +0000 (14:00 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 25 May 2017 03:56:35 +0000 (11:56 +0800)
In the spec:
The tTypeCSendSourceCap is defined from 100ms to 200ms.
The nCapsCount is defined 50.

Change-Id: I09bcdb7a83c353ab099d51228cf8ca13e562d839
Signed-off-by: zain wang <wzz@rock-chips.com>
drivers/mfd/fusb302.h

index 905a0c8ef33b429fddaebfa5b8edc96af6dedcab..7a757deb8f4994cb947bbecce687682769edc6cd 100644 (file)
@@ -279,12 +279,12 @@ enum tcpm_rp_value {
 #define VDM_TYPE_BUSY          3
 
 #define N_DEBOUNCE_CNT         (10 - 1)
-#define N_CAPS_COUNT           100
+#define N_CAPS_COUNT           50
 #define N_HARDRESET_COUNT      0
 
 #define T_NO_RESPONSE          5000
 #define T_SRC_RECOVER          830
-#define T_TYPEC_SEND_SOURCECAP 3
+#define T_TYPEC_SEND_SOURCECAP 100
 #define T_SENDER_RESPONSE      30
 #define T_SRC_TRANSITION       30
 #define T_TYPEC_SINK_WAIT_CAP  500