[PATCH 15/24] ab8500-fg: Go to INIT_RECOVERY when charger removed

Lee Jones lee.jones at linaro.org
Mon Jan 21 07:03:51 EST 2013

From: Martin Bergström <martin.bergstrom at stericsson.com>

When the charger is removed we need to go to INIT_RECOVERY
state instead of directly to RECOVERY state.

Signed-off-by: Lee Jones <lee.jones at linaro.org>
Signed-off-by: Martin Bergstrom <martin.bergstrom at stericsson.com>
Reviewed-by: Marcus COOPER <marcus.xm.cooper at stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg at stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg at stericsson.com>
 drivers/power/ab8500_fg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c
index 238eeee..0378aab 100644
--- a/drivers/power/ab8500_fg.c
+++ b/drivers/power/ab8500_fg.c
@@ -1450,7 +1450,7 @@ static void ab8500_fg_algorithm_discharging(struct ab8500_fg *di)
 			if (di->recovery_needed) {
 					&di->fg_periodic_work, 0);

More information about the linux-arm-kernel mailing list