From 0e34395717cffd7c87455c2c34d0e5121027a0e1 Mon Sep 17 00:00:00 2001 From: Edward Hill Date: Tue, 20 Nov 2018 15:06:33 -0700 Subject: liara: Use CONFIG_LED_PWM_CHARGE_STATE_ONLY Liara only has a single LED on one side, and it should show only the charge state (instead of including chipset state and low battery state as well). Change from CONFIG_LED_PWM_ACTIVE_CHARGE_PORT_ONLY to use the newly added CONFIG_LED_PWM_CHARGE_STATE_ONLY. BUG=b:119746227 BRANCH=grunt TEST=Liara LED is on when charging from either side. Change-Id: If71339be836037a88eb17933ba1a817bd10d5002 Signed-off-by: Edward Hill Reviewed-on: https://chromium-review.googlesource.com/1344796 Tested-by: Josh Tsai Reviewed-by: Diana Z --- board/liara/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/liara/board.h b/board/liara/board.h index ec6ed71a0e..f1829c5e58 100644 --- a/board/liara/board.h +++ b/board/liara/board.h @@ -20,7 +20,7 @@ /* Power and battery LEDs */ #define CONFIG_LED_COMMON -#define CONFIG_LED_PWM_ACTIVE_CHARGE_PORT_ONLY +#define CONFIG_LED_PWM_CHARGE_STATE_ONLY #define CONFIG_CMD_LEDTEST #undef CONFIG_LED_PWM_NEAR_FULL_COLOR -- cgit v1.2.1