From 7cebaa0a017d734ae9dda19a39fd867463f785c6 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Fri, 26 Apr 2013 16:57:39 -0700 Subject: Fix charging state descriptions Two states were added, but the descriptions weren't. This caused a crash. BUG=chrome-os-partner:18914 TEST=boot spring with no battery, wait a few secs; shouldn't crash BRANCH=spring Change-Id: I10f9280232259a1f467ea3b02f3b1b61cee57471 Signed-off-by: Randall Spangler Reviewed-on: https://gerrit.chromium.org/gerrit/49391 --- common/pmu_tps65090_charger.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/pmu_tps65090_charger.c b/common/pmu_tps65090_charger.c index 0d73fcc619..1b2a9aa37a 100644 --- a/common/pmu_tps65090_charger.c +++ b/common/pmu_tps65090_charger.c @@ -47,6 +47,8 @@ static const char * const state_list[] = { "idle", + "reinit", + "bad cond", "pre-charging", "charging", "charging error", -- cgit v1.2.1