summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/usbc/usb_tc_drp_acc_trysrc_sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usbc/usb_tc_drp_acc_trysrc_sm.c b/common/usbc/usb_tc_drp_acc_trysrc_sm.c
index 05e5f2ec94..5c2c19c568 100644
--- a/common/usbc/usb_tc_drp_acc_trysrc_sm.c
+++ b/common/usbc/usb_tc_drp_acc_trysrc_sm.c
@@ -615,7 +615,7 @@ static bool pd_comm_allowed_by_policy(void)
* when sysjump to RW that makes the device brownout on the dead-battery
* case. Disable PD for this special case as a workaround.
*/
- if (IS_ENABLED(CONFIG_SYSTEM_UNLOCKED)) {
+ if (!system_is_locked()) {
if (IS_ENABLED(CONFIG_VBOOT_EFS2))
return true;