summaryrefslogtreecommitdiff
path: root/board/dibbi/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/dibbi/board.c')
-rw-r--r--board/dibbi/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/dibbi/board.c b/board/dibbi/board.c
index 467e238d8a..f546c92c87 100644
--- a/board/dibbi/board.c
+++ b/board/dibbi/board.c
@@ -235,13 +235,11 @@ uint16_t tcpc_get_alert_status(void)
void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma,
int charge_mv)
{
- int icl = MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT);
-
/*
* TODO(b/151955431): Characterize the input current limit in case a
* scaling needs to be applied here
*/
- charge_set_input_current_limit(icl, charge_mv);
+ charge_set_input_current_limit(charge_ma, charge_mv);
}
int board_set_active_charge_port(int port)