diff options
Diffstat (limited to 'board/reef_it8320/usb_pd_policy.c')
-rw-r--r-- | board/reef_it8320/usb_pd_policy.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/reef_it8320/usb_pd_policy.c b/board/reef_it8320/usb_pd_policy.c index 87b9c8d42e..7fec6bc975 100644 --- a/board/reef_it8320/usb_pd_policy.c +++ b/board/reef_it8320/usb_pd_policy.c @@ -58,9 +58,6 @@ int pd_set_power_supply_ready(int port) /* Ensure we're not charging from this port */ bd9995x_select_input_port(port, 0); - /* Ensure we advertise the proper available current quota */ - charge_manager_source_port(port, 1); - pd_set_vbus_discharge(port, 0); /* Provide VBUS */ vbus_en[port] = 1; @@ -86,9 +83,6 @@ void pd_power_supply_reset(int port) if (prev_en) pd_set_vbus_discharge(port, 1); - /* Give back the current quota we are no longer using */ - charge_manager_source_port(port, 0); - /* notify host of power info change */ pd_send_host_event(PD_EVENT_POWER_CHANGE); } |