diff options
Diffstat (limited to 'driver/tcpm/anx74xx.c')
-rw-r--r-- | driver/tcpm/anx74xx.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/driver/tcpm/anx74xx.c b/driver/tcpm/anx74xx.c index 9164b9a313..cdbf14b644 100644 --- a/driver/tcpm/anx74xx.c +++ b/driver/tcpm/anx74xx.c @@ -729,15 +729,10 @@ static void anx74xx_handle_power_mode(int port, int mode) } } -static int anx74xx_tcpc_drp_toggle(int port, int enable) +static int anx74xx_tcpc_drp_toggle(int port) { - /* - * When using low power mode, this function is an entry to point to - * bring the ANX3429 in to or out of standby mode. DRP toggle is - * associated with the chip being in standby mode. - */ - anx74xx_handle_power_mode(port, enable ? ANX74XX_STANDBY_MODE : - ANX74XX_NORMAL_MODE); + /* DRP auto-toggle happens when the ANX3429 is in standby mode. */ + anx74xx_handle_power_mode(port, ANX74XX_STANDBY_MODE); return EC_SUCCESS; } |