diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-10-23 16:08:23 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-25 08:14:21 +0000 |
commit | a019bf585393ba02ba24949b1ca4d99253a42d13 (patch) | |
tree | 1f93bb9c0a7668ef8f2df3b5bacb30c083e8674c | |
parent | 908b3f559b2959173f55a2f3e32ea10047f00c0d (diff) | |
download | chrome-ec-a019bf585393ba02ba24949b1ca4d99253a42d13.tar.gz |
pd: make transition out of hard reset shorter
Shorten the hard reset timeout so that we transition out of hard
reset state faster.
BUG=none
BRANCH=samus
TEST=test on third-party product that sends source cap very soon
after we send hard reset. without this patch we weren't responding
to the first few source caps, with this change we respond right
away.
Change-Id: I285aaf0296604da22438e31bc962629701694b7b
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/225247
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | common/usb_pd_protocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index fa85ac5643..aac2945a30 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -1567,6 +1567,7 @@ void pd_task(void) send_hard_reset(port); /* reset our own state machine */ execute_hard_reset(port); + timeout = 10*MSEC; break; case PD_STATE_BIST: send_bist_cmd(port); |