From: zain wang Date: Fri, 19 May 2017 06:00:46 +0000 (+0800) Subject: mfd: fusb302: fix some variable following PD specification X-Git-Tag: release-20171130_firefly~4^2~520 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7b793ece1e8452ab41ad2287dd206feb8327e0ad;p=firefly-linux-kernel-4.4.55.git mfd: fusb302: fix some variable following PD specification In the spec: The tTypeCSendSourceCap is defined from 100ms to 200ms. The nCapsCount is defined 50. Change-Id: I09bcdb7a83c353ab099d51228cf8ca13e562d839 Signed-off-by: zain wang --- diff --git a/drivers/mfd/fusb302.h b/drivers/mfd/fusb302.h index 905a0c8ef33b..7a757deb8f49 100644 --- a/drivers/mfd/fusb302.h +++ b/drivers/mfd/fusb302.h @@ -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