summaryrefslogtreecommitdiff
path: root/common/usbc/usb_pd_dpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usbc/usb_pd_dpm.c')
-rw-r--r--common/usbc/usb_pd_dpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usbc/usb_pd_dpm.c b/common/usbc/usb_pd_dpm.c
index 8141e92fd7..9d951109c0 100644
--- a/common/usbc/usb_pd_dpm.c
+++ b/common/usbc/usb_pd_dpm.c
@@ -303,7 +303,7 @@ static void dpm_attempt_mode_entry(int port)
* of the modes can get out of sync, causing the attempt to
* enter the mode to fail prematurely.
*/
- if (chipset_in_or_transitioning_to_state(CHIPSET_STATE_ANY_OFF))
+ if (!chipset_in_state(CHIPSET_STATE_ANY_SUSPEND | CHIPSET_STATE_ON))
return;
#endif
/*