diff options
Diffstat (limited to 'common/usb_pd_protocol.c')
-rw-r--r-- | common/usb_pd_protocol.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index d4f6be79b0..ee60a70381 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -2653,6 +2653,14 @@ void pd_task(void *u) int snk_cap_count = 0; int evt; +#ifdef CONFIG_USB_PD_TCPC_LOW_POWER + /* + * Set the ports in Low Power Mode so that other tasks wait until + * TCPC is initialized and ready. + */ + pd[port].flags |= PD_FLAGS_LPM_ENGAGED; +#endif + #ifdef CONFIG_COMMON_RUNTIME pd_init_tasks(); #endif |