summaryrefslogtreecommitdiff
path: root/board/reef/usb_pd_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/reef/usb_pd_policy.c')
-rw-r--r--board/reef/usb_pd_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/reef/usb_pd_policy.c b/board/reef/usb_pd_policy.c
index b6c3f07328..20286af0a0 100644
--- a/board/reef/usb_pd_policy.c
+++ b/board/reef/usb_pd_policy.c
@@ -92,7 +92,7 @@ void typec_set_source_current_limit(int port, int rp)
int pd_set_power_supply_ready(int port)
{
/* Ensure we're not charging from this port */
- bd9995x_select_input_port(bd9995x_pd_port_to_chg_port(port), 0);
+ bd9995x_select_input_port(port, 0);
/* Ensure we advertise the proper available current quota */
charge_manager_source_port(port, 1);