summaryrefslogtreecommitdiff
path: root/driver/tcpm/stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/stub.c')
-rw-r--r--driver/tcpm/stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/tcpm/stub.c b/driver/tcpm/stub.c
index bb61c83024..96911ab588 100644
--- a/driver/tcpm/stub.c
+++ b/driver/tcpm/stub.c
@@ -148,8 +148,8 @@ void tcpc_alert(int port)
}
if (status & TCPC_REG_ALERT_RX_HARD_RST) {
/* hard reset received */
- pd_execute_hard_reset(port);
- task_wake(PD_PORT_TO_TASK_ID(port));
+ task_set_event(PD_PORT_TO_TASK_ID(port),
+ PD_EVENT_RX_HARD_RESET, 0);
}
if (status & TCPC_REG_ALERT_TX_COMPLETE) {
/* transmit complete */