summaryrefslogtreecommitdiff
path: root/common/usb_pd_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usb_pd_protocol.c')
-rw-r--r--common/usb_pd_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c
index 7a4f543858..b77087e6f0 100644
--- a/common/usb_pd_protocol.c
+++ b/common/usb_pd_protocol.c
@@ -3831,7 +3831,7 @@ void pd_task(void *u)
pd_set_power_role(port, PD_ROLE_SOURCE);
timeout = 2*MSEC;
} else {
- tcpm_set_drp_toggle(port, 1);
+ tcpm_enable_drp_toggle(port);
pd[port].flags |= PD_FLAGS_LPM_REQUESTED;
pd[port].flags |= PD_FLAGS_TCPC_DRP_TOGGLE;
timeout = -1;