From 31e68a035b83acf13b73f3b5b63fbb99540faea9 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Tue, 9 Jan 2018 16:31:44 +0800 Subject: driver/charger/isl923x: Make sure CONFIG_CHARGER_NARROW_VDC is set Without this, the battery will discharge if we disallow battery charging (e.g. calling charge_request with either voltage == 0 or current == 0, either by policy, or when the battery is full). Also update config.h to set the option whenever isl923x is used. BRANCH=none BUG=b:66575472 BUG=b:35585464 TEST=make buildall -j Change-Id: Id5515d5ea82a393a3693a3da44cbdc2778296a95 Signed-off-by: Nicolas Boichat Reviewed-on: https://chromium-review.googlesource.com/856538 Reviewed-by: Aseda Aboagye --- board/elm/board.h | 1 - 1 file changed, 1 deletion(-) (limited to 'board/elm') diff --git a/board/elm/board.h b/board/elm/board.h index 4886d010ac..41af08ee4e 100644 --- a/board/elm/board.h +++ b/board/elm/board.h @@ -38,7 +38,6 @@ #define CONFIG_CHARGE_RAMP_HW #define CONFIG_CHARGER_ISL9237 #define CONFIG_CHARGER_MAX_INPUT_CURRENT 3000 -#define CONFIG_CHARGER_NARROW_VDC #define CONFIG_CHARGER_SENSE_RESISTOR 10 #define CONFIG_CHARGER_SENSE_RESISTOR_AC 20 #define CONFIG_CHARGER_DISCHARGE_ON_AC -- cgit v1.2.1