summaryrefslogtreecommitdiff
path: root/common/usbc
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-08 20:59:21 +0000
commit6c84952bbcc791c33128abe639de064741a48508 (patch)
tree04399489a02c85bdbc8351857245adc2f414c087 /common/usbc
parent2782311fcd09830fef85734708f5d24b64cd176d (diff)
downloadchrome-ec-6c84952bbcc791c33128abe639de064741a48508.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>
Diffstat (limited to 'common/usbc')
-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 b719ea9f1b..081a916917 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++;