diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2023-02-08 15:36:09 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-13 22:08:43 +0000 |
commit | 6a0c42bf25c153f53f6377f1c0b776286771bf2e (patch) | |
tree | c7a5d76af160711746324ee6ef574a0bb4e5e3d0 /test | |
parent | 6b0377742e9982432cacaf3ce0a3d77209a169da (diff) | |
download | chrome-ec-6a0c42bf25c153f53f6377f1c0b776286771bf2e.tar.gz |
TCPMv2: Restrict PE VDM flag to discovery
Set and clear PE_FLAGS_VDM_SETUP_DONE based on discovery state, because
it only affects whether the PE will attempt port discovery. Do not set
it after DP Config or other mode entry resolutions. Remove unreachable
code to disable DiscoverIdentityTimer based on this flag. Clear it when
clearing discovery data but not when just exiting modes.
BUG=b:189353401
TEST=voxel: Attach TBT4 hub; observe discovery/mode entry sequence
BRANCH=none
LOW_COVERAGE_REASON=Covered line was optimized out
Change-Id: Iae55b8c21c9244da86faed6d38bc89b3e74cf332
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4234223
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions