diff options
Diffstat (limited to 'driver/tcpm')
-rw-r--r-- | driver/tcpm/anx74xx.c | 4 | ||||
-rw-r--r-- | driver/tcpm/fusb302.c | 4 | ||||
-rw-r--r-- | driver/tcpm/stub.c | 4 | ||||
-rw-r--r-- | driver/tcpm/tcpci.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/driver/tcpm/anx74xx.c b/driver/tcpm/anx74xx.c index 4ca30f8eca..cdf145cc37 100644 --- a/driver/tcpm/anx74xx.c +++ b/driver/tcpm/anx74xx.c @@ -1011,7 +1011,7 @@ void anx74xx_tcpc_alert(int port) if (reg & ANX74XX_REG_IRQ_CC_STATUS_INT) /* CC status changed, wake task */ - task_set_event(PD_PORT_TO_TASK_ID(port), PD_EVENT_CC, 0); + task_set_event(PD_PORT_TO_TASK_ID(port), PD_EVENT_CC); /* Read and clear extended alert register 1 */ reg = 0; @@ -1043,7 +1043,7 @@ void anx74xx_tcpc_alert(int port) if (reg & ANX74XX_REG_EXT_HARD_RST) { /* hard reset received */ task_set_event(PD_PORT_TO_TASK_ID(port), - PD_EVENT_RX_HARD_RESET, 0); + PD_EVENT_RX_HARD_RESET); } } diff --git a/driver/tcpm/fusb302.c b/driver/tcpm/fusb302.c index 18ad09522f..17f71c615b 100644 --- a/driver/tcpm/fusb302.c +++ b/driver/tcpm/fusb302.c @@ -975,7 +975,7 @@ void fusb302_tcpc_alert(int port) if (interrupt & TCPC_REG_INTERRUPT_BC_LVL) { /* CC Status change */ - task_set_event(PD_PORT_TO_TASK_ID(port), PD_EVENT_CC, 0); + task_set_event(PD_PORT_TO_TASK_ID(port), PD_EVENT_CC); } if (interrupt & TCPC_REG_INTERRUPT_COLLISION) { @@ -1024,7 +1024,7 @@ void fusb302_tcpc_alert(int port) /* bring FUSB302 out of reset */ fusb302_pd_reset(port); task_set_event(PD_PORT_TO_TASK_ID(port), - PD_EVENT_RX_HARD_RESET, 0); + PD_EVENT_RX_HARD_RESET); } if (interruptb & TCPC_REG_INTERRUPTB_GCRCSENT) { diff --git a/driver/tcpm/stub.c b/driver/tcpm/stub.c index 75a9c9ced6..c407e099fb 100644 --- a/driver/tcpm/stub.c +++ b/driver/tcpm/stub.c @@ -136,7 +136,7 @@ void tcpc_alert(int port) if (status & TCPC_REG_ALERT_CC_STATUS) { /* CC status changed, wake task */ - task_set_event(PD_PORT_TO_TASK_ID(port), PD_EVENT_CC, 0); + task_set_event(PD_PORT_TO_TASK_ID(port), PD_EVENT_CC); } if (status & TCPC_REG_ALERT_RX_STATUS) { /* @@ -148,7 +148,7 @@ void tcpc_alert(int port) if (status & TCPC_REG_ALERT_RX_HARD_RST) { /* hard reset received */ task_set_event(PD_PORT_TO_TASK_ID(port), - PD_EVENT_RX_HARD_RESET, 0); + PD_EVENT_RX_HARD_RESET); } if (status & TCPC_REG_ALERT_TX_COMPLETE) { /* transmit complete */ diff --git a/driver/tcpm/tcpci.c b/driver/tcpm/tcpci.c index 5fb54b1beb..c667f4b896 100644 --- a/driver/tcpm/tcpci.c +++ b/driver/tcpm/tcpci.c @@ -891,7 +891,7 @@ int tcpm_enqueue_message(const int port) atomic_add(&q->head, 1); /* Wake PD task up so it can process incoming RX messages */ - task_set_event(PD_PORT_TO_TASK_ID(port), TASK_EVENT_WAKE, 0); + task_set_event(PD_PORT_TO_TASK_ID(port), TASK_EVENT_WAKE); return EC_SUCCESS; } @@ -1262,7 +1262,7 @@ void tcpci_tcpc_alert(int port) * the next I2C transaction to the TCPC will cause it to wake again. */ if (pd_event) - task_set_event(PD_PORT_TO_TASK_ID(port), pd_event, 0); + task_set_event(PD_PORT_TO_TASK_ID(port), pd_event); } /* |