Initialize LP5562 power on init

On init, we should either explicitly power on or off LP5562 in case.

BUG=none
TEST=Manual
BRANCH=spring

Change-Id: I7e331349090f3383da19f840762fa4d72a1a054b
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/46847
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
Vic Yang
2013-03-29 12:09:19 +08:00
committed by ChromeBot
parent e2dd54288d
commit 4311bc5ccf

View File

@@ -61,7 +61,7 @@ static void battery_led_update(void)
/* Current states and next states */
static uint32_t color = LED_COLOR_RED;
static int breathing;
static int led_power;
static int led_power = -1;
int new_color = LED_COLOR_RED;
int new_breathing = 0;
int new_led_power;