summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-02-05 11:37:52 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-09 17:17:27 +0000
commit8212140bee771058dec9f6904cd9915ea3781524 (patch)
tree589fe02d2aa520b50fdd4acf2361414680b0743a
parenta589f3a0cb622dabc21a9695150a9e11b0e0f1c1 (diff)
downloadchrome-ec-8212140bee771058dec9f6904cd9915ea3781524.tar.gz
TCPMv2: Remove pe_prl_execute_hard_reset
Just call prl_execute_hard_reset. BUG=b:173725284,b:179198412 TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: Ib801c72e5082918c4449efed2d0fcdaa58d7e029 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2679991 Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2684755
-rw-r--r--common/usbc/usb_pe_drp_sm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/usbc/usb_pe_drp_sm.c b/common/usbc/usb_pe_drp_sm.c
index cc17841da6..d2c04a0b2d 100644
--- a/common/usbc/usb_pe_drp_sm.c
+++ b/common/usbc/usb_pe_drp_sm.c
@@ -1899,11 +1899,6 @@ int pd_is_port_partner_dualrole(int port)
return PE_CHK_FLAG(port, PE_FLAGS_PORT_PARTNER_IS_DUALROLE);
}
-static void pe_prl_execute_hard_reset(int port)
-{
- prl_execute_hard_reset(port);
-}
-
/* The function returns true if there is a PE state change, false otherwise */
static bool port_try_vconn_swap(int port)
{
@@ -3669,7 +3664,7 @@ static void pe_snk_hard_reset_entry(int port)
PE_FLAGS_VDM_REQUEST_BUSY);
/* Request the generation of Hard Reset Signaling by the PHY Layer */
- pe_prl_execute_hard_reset(port);
+ prl_execute_hard_reset(port);
/* Increment the HardResetCounter */
pe[port].hard_reset_counter++;