summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-02-05 12:41:01 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-08 20:59:25 +0000
commit64a040ff293644c384dd231b1010f7f5025309fd (patch)
tree712441343a4ebf3879ad489af9572dc02467c713 /test
parent6c84952bbcc791c33128abe639de064741a48508 (diff)
downloadchrome-ec-64a040ff293644c384dd231b1010f7f5025309fd.tar.gz
TCPMv2: Remove prl_reset
It is now unused in implementation code. BUG=b:179198412,b:173725284 TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: If9ce77f5958d4ee168412b22bd77cba2c4d0ec49 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2679992 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/usb_prl.c2
-rw-r--r--test/usb_prl_old.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/usb_prl.c b/test/usb_prl.c
index 42bbac4b6d..e572da4966 100644
--- a/test/usb_prl.c
+++ b/test/usb_prl.c
@@ -145,7 +145,7 @@ void before_test(void)
mock_tcpm_reset();
mock_pe_port_reset();
- prl_reset(PORT0);
+ prl_reset_soft(PORT0);
enable_prl(PORT0, 1);
}
diff --git a/test/usb_prl_old.c b/test/usb_prl_old.c
index e14d915214..6d6f02c6cf 100644
--- a/test/usb_prl_old.c
+++ b/test/usb_prl_old.c
@@ -806,7 +806,7 @@ static int test_prl_reset(void)
enable_prl(port, 1);
- prl_reset(port);
+ prl_reset_soft(port);
TEST_EQ(prl_tx_get_state(port),
PRL_TX_WAIT_FOR_MESSAGE_REQUEST, "%u");