diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2021-08-18 12:21:41 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-18 23:04:52 +0000 |
commit | 110f908a498551a9f90d86d8b5dd369acdf98438 (patch) | |
tree | f192b41790edf592188180d5efe4eb24e0a0ac07 /test/usb_tcpmv2_td_pd_ll_e5.c | |
parent | 59e395027ab03c0ca2b5263193b30dff1c063c44 (diff) | |
download | chrome-ec-110f908a498551a9f90d86d8b5dd369acdf98438.tar.gz |
TCPM: Remove enum pd_msg_type
Convert usages of this enum to tcpm_sop_type.
BUG=b:155476419
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I5fed273d72e7ad0e191db0cb0d121b70bdd9ecdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3104291
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'test/usb_tcpmv2_td_pd_ll_e5.c')
-rw-r--r-- | test/usb_tcpmv2_td_pd_ll_e5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/usb_tcpmv2_td_pd_ll_e5.c b/test/usb_tcpmv2_td_pd_ll_e5.c index 991b044636..a1d431bed7 100644 --- a/test/usb_tcpmv2_td_pd_ll_e5.c +++ b/test/usb_tcpmv2_td_pd_ll_e5.c @@ -38,7 +38,7 @@ static int td_pd_ll_e5(enum pd_data_role data_role) * b) Initiate a Soft Reset and check that the procedure is completed * successfully. */ - partner_send_msg(PD_MSG_SOP, PD_CTRL_SOFT_RESET, 0, 0, NULL); + partner_send_msg(TCPC_TX_SOP, PD_CTRL_SOFT_RESET, 0, 0, NULL); TEST_EQ(verify_tcpci_transmit(TCPC_TX_SOP, PD_CTRL_ACCEPT, 0), EC_SUCCESS, "%d"); |