summaryrefslogtreecommitdiff
path: root/baseboard/asurada/usbc_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/asurada/usbc_config.c')
-rw-r--r--baseboard/asurada/usbc_config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/baseboard/asurada/usbc_config.c b/baseboard/asurada/usbc_config.c
index ecc882659f..57396121f5 100644
--- a/baseboard/asurada/usbc_config.c
+++ b/baseboard/asurada/usbc_config.c
@@ -311,8 +311,7 @@ void board_reset_pd_mcu(void)
void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma,
int charge_mv)
{
- charge_set_input_current_limit(
- MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT), charge_mv);
+ charge_set_input_current_limit(charge_ma, charge_mv);
}
void board_pd_vconn_ctrl(int port, enum usbpd_cc_pin cc_pin, int enabled)