diff options
Diffstat (limited to 'board/atlas/board.c')
-rw-r--r-- | board/atlas/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c index 633543b51f..685afb3e0e 100644 --- a/board/atlas/board.c +++ b/board/atlas/board.c @@ -551,8 +551,7 @@ DECLARE_HOOK(HOOK_INIT, board_charger_init, HOOK_PRIO_DEFAULT); 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); } static void board_chipset_suspend(void) |