From: Li Jun Date: Thu, 27 Jul 2017 14:49:06 +0000 (+0800) Subject: MLK-16013-25 staging: typec: tcpm: correct the PD_T_SENDER_RESPONSE value X-Git-Tag: C0P2-H0.0--20200415~1908 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=8a4994e70bd502045eb51296b8092c3cd5187f8b;p=linux.git MLK-16013-25 staging: typec: tcpm: correct the PD_T_SENDER_RESPONSE value Per PD spec, the sender response should be in a small range 24~30ms, so correct the PD_T_SENDER_RESPONSE to be 25. Reviewed-by: Peter Chen Signed-off-by: Li Jun --- diff --git a/drivers/staging/typec/pd.h b/drivers/staging/typec/pd.h index 8d97bdb95f23..c93abb84eabf 100644 --- a/drivers/staging/typec/pd.h +++ b/drivers/staging/typec/pd.h @@ -250,7 +250,7 @@ static inline unsigned int rdo_max_power(u32 rdo) #define PD_T_NO_RESPONSE 5000 /* 4.5 - 5.5 seconds */ #define PD_T_DB_DETECT 10000 /* 10 - 15 seconds */ #define PD_T_SEND_SOURCE_CAP 150 /* 100 - 200 ms */ -#define PD_T_SENDER_RESPONSE 60 /* 24 - 30 ms, relaxed */ +#define PD_T_SENDER_RESPONSE 25 /* 24 - 30 ms, relaxed */ #define PD_T_SOURCE_ACTIVITY 45 #define PD_T_SINK_ACTIVITY 135 #define PD_T_SINK_WAIT_CAP 240