summaryrefslogtreecommitdiff
path: root/driver/tcpm/fusb302.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/fusb302.c')
-rw-r--r--driver/tcpm/fusb302.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/driver/tcpm/fusb302.c b/driver/tcpm/fusb302.c
index 3be0288bf1..43d3829858 100644
--- a/driver/tcpm/fusb302.c
+++ b/driver/tcpm/fusb302.c
@@ -894,10 +894,8 @@ void fusb302_tcpc_alert(int port)
/* bring FUSB302 out of reset */
fusb302_pd_reset(port);
-
- 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 (interruptb & TCPC_REG_INTERRUPTB_GCRCSENT) {