summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/usb_pd_alt_mode_dfp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/usb_pd_alt_mode_dfp.c b/common/usb_pd_alt_mode_dfp.c
index b1b4e9147b..102889b310 100644
--- a/common/usb_pd_alt_mode_dfp.c
+++ b/common/usb_pd_alt_mode_dfp.c
@@ -719,8 +719,7 @@ bool is_tbt_cable_superspeed(int port)
bool is_modal(int port, int cnt, const uint32_t *payload)
{
- return IS_ENABLED(CONFIG_USB_PD_TBT_COMPAT_MODE) &&
- is_vdo_present(cnt, VDO_INDEX_IDH) &&
+ return is_vdo_present(cnt, VDO_INDEX_IDH) &&
PD_IDH_IS_MODAL(payload[VDO_INDEX_IDH]);
}