diff options
Diffstat (limited to 'driver/tcpm/anx74xx.c')
-rw-r--r-- | driver/tcpm/anx74xx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/driver/tcpm/anx74xx.c b/driver/tcpm/anx74xx.c index e3d7d081e7..128890a8dd 100644 --- a/driver/tcpm/anx74xx.c +++ b/driver/tcpm/anx74xx.c @@ -632,8 +632,11 @@ void anx74xx_handle_power_mode(int port, int mode) } } -static int anx74xx_tcpc_drp_toggle(int port) +static int anx74xx_tcpc_drp_toggle(int port, int enable) { + if (!enable) + /* TODO: Switch to normal mode here (Issue 702277) */ + return EC_SUCCESS; anx74xx_handle_power_mode(port, ANX74XX_STANDBY_MODE); return EC_SUCCESS; } |