diff options
Diffstat (limited to 'common/usbc/usb_tc_ctvpd_sm.c')
-rw-r--r-- | common/usbc/usb_tc_ctvpd_sm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/common/usbc/usb_tc_ctvpd_sm.c b/common/usbc/usb_tc_ctvpd_sm.c index 07b0fc5aae..194bb664fe 100644 --- a/common/usbc/usb_tc_ctvpd_sm.c +++ b/common/usbc/usb_tc_ctvpd_sm.c @@ -418,7 +418,7 @@ static void tc_attached_snk_entry(const int port) /* Enable PD */ tc[port].pd_enable = 1; - set_polarity(port, 0); + pd_set_polarity(port, 0); /* * This state can only be entered from states AttachWait.SNK @@ -679,7 +679,7 @@ static void tc_attached_src_entry(const int port) /* Enable PD */ tc[port].pd_enable = 1; - set_polarity(port, 0); + pd_set_polarity(port, 0); /* Connect Charge-Through VBUS to Host VBUS */ vpd_vbus_pass_en(1); @@ -879,7 +879,7 @@ static void tc_ct_try_snk_entry(const int port) /* Enable PD */ tc[port].pd_enable = 1; - set_polarity(port, 0); + pd_set_polarity(port, 0); tc[port].cc_state = PD_CC_UNSET; tc[port].next_role_swap = get_time().val + PD_T_DRP_TRY; @@ -975,7 +975,7 @@ static void tc_ct_attach_wait_unsupported_entry(const int port) /* Enable PD */ tc[port].pd_enable = 1; - set_polarity(port, 0); + pd_set_polarity(port, 0); tc[port].cc_state = PD_CC_UNSET; } @@ -1105,7 +1105,7 @@ static void tc_ct_unattached_unsupported_entry(const int port) /* Enable PD */ tc[port].pd_enable = 1; - set_polarity(port, 0); + pd_set_polarity(port, 0); tc[port].next_role_swap = get_time().val + PD_T_DRP_SRC; } @@ -1173,7 +1173,7 @@ static void tc_ct_unattached_vpd_entry(const int port) /* Enable PD */ tc[port].pd_enable = 1; - set_polarity(port, 0); + pd_set_polarity(port, 0); tc[port].cc_state = PD_CC_UNSET; } @@ -1380,7 +1380,7 @@ static void tc_ct_attach_wait_vpd_entry(const int port) /* Enable PD */ tc[port].pd_enable = 1; - set_polarity(port, 0); + pd_set_polarity(port, 0); tc[port].cc_state = PD_CC_UNSET; } |