ab8500-fg: Go to INIT_RECOVERY when charger removed
authorMartin Bergström <martin.bergstrom@stericsson.com>
Fri, 4 May 2012 12:43:50 +0000 (14:43 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Jan 2013 14:39:17 +0000 (14:39 +0000)
commitffaa39d9edd7e3d620d14d574485e814edbf3950
tree2a8086bd51f4330b4c4f460a320baac59b58abd8
parentb016322293c7e3b7efb1835603d149c03d00b0df
ab8500-fg: Go to INIT_RECOVERY when charger removed

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

Signed-off-by: Martin Bergstrom <martin.bergstrom@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
drivers/power/ab8500_fg.c