summaryrefslogtreecommitdiff
path: root/common/host_command_pd.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/host_command_pd.c')
-rw-r--r--common/host_command_pd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/host_command_pd.c b/common/host_command_pd.c
index fbfad43918..c3fc385216 100644
--- a/common/host_command_pd.c
+++ b/common/host_command_pd.c
@@ -198,7 +198,8 @@ static void pd_exchange_status(uint32_t ec_state)
#endif
if (!first_exchange)
- usleep(50*MSEC);
+ /* Delay to prevent task starvation */
+ usleep(5*MSEC);
first_exchange = 0;
} while (pd_get_alert());
#endif /* USB_TCPM_WITH_OFF_CHIP_TCPC */