diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2020-06-17 14:15:52 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-19 03:10:44 +0000 |
commit | e4f79a798ac9e191be18f0f821fdf8437b17e629 (patch) | |
tree | 99882fef97d92cd8496f5770941c6a3cb95fcf12 /test/usb_pe_drp.c | |
parent | 921c3e0e6d1252ac3bbf491ac8359dba67bdcb2d (diff) | |
download | chrome-ec-e4f79a798ac9e191be18f0f821fdf8437b17e629.tar.gz |
TCPMv2: Rename discovery flags
PE_FLAGS_DISCOVER_PORT_IDENTITY_DONE has been used to indicate that
DisplayPort configuration is done for some time.
PE_FLAGS_DISCOVER_PORT_CONTINUE is now only used to resume non-discovery
VDM requests. Maybe the way they are used should change. For now, rename
them to reflect their current use; this should make subsequent changes
easier to understand.
BUG=b:155890173,b:158813138
TEST=make buildall
BRANCH=none
Change-Id: Icbb6a44412b1b901ed160da58d4fbe016348bc2b
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2250921
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'test/usb_pe_drp.c')
-rw-r--r-- | test/usb_pe_drp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/usb_pe_drp.c b/test/usb_pe_drp.c index a58009436c..954b191b5c 100644 --- a/test/usb_pe_drp.c +++ b/test/usb_pe_drp.c @@ -68,7 +68,7 @@ static int test_pe_frs(void) * background tasks (ex. discovery) aren't running. */ tc_prs_src_snk_assert_rd(PORT0); - pe_set_flag(PORT0, PE_FLAGS_DISCOVER_PORT_IDENTITY_DONE); + pe_set_flag(PORT0, PE_FLAGS_VDM_SETUP_DONE); pe_set_flag(PORT0, PE_FLAGS_EXPLICIT_CONTRACT); set_state_pe(PORT0, PE_SNK_READY); pe_run(PORT0, EVT_IGNORED, ENABLED); |