diff options
author | Diana Z <dzigterman@chromium.org> | 2020-06-25 13:05:47 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-25 23:57:56 +0000 |
commit | 79abd55b25ea66e89d94e12a5897a13f70dc9e68 (patch) | |
tree | b553891cdd0381f32f4a77f2c478f5c7d41e4253 | |
parent | 2f651922b48ed2ed4a592ca2f61b82d7df7f0006 (diff) | |
download | chrome-ec-79abd55b25ea66e89d94e12a5897a13f70dc9e68.tar.gz |
TCPMv2: Clear VDM timeout flag in ready
The VDM timeout flag represents an issue within a single AMS and should
therefore be cleared on return to the READY states.
BRANCH=None
BUG=None
TEST=on zork, timeout on cable identity VDM doesn't effect future SOP
identity calls
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ic065fbeeb9e1df88595bffbbbf6c3827e9bb17af
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2267628
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | common/usbc/usb_pe_drp_sm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/usbc/usb_pe_drp_sm.c b/common/usbc/usb_pe_drp_sm.c index 8e853ee665..5d69e3d4d5 100644 --- a/common/usbc/usb_pe_drp_sm.c +++ b/common/usbc/usb_pe_drp_sm.c @@ -145,7 +145,8 @@ /* Message flags which should not persist on returning to ready state */ #define PE_FLAGS_READY_CLR (PE_FLAGS_LOCALLY_INITIATED_AMS \ - | PE_FLAGS_MSG_DISCARDED) + | PE_FLAGS_MSG_DISCARDED \ + | PE_FLAGS_VDM_REQUEST_TIMEOUT) /* 6.7.3 Hard Reset Counter */ #define N_HARD_RESET_COUNT 2 |