diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-08-18 10:14:38 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 16:00:12 +0200 |
commit | a79b854c1fcb64984564236997fb345cca1a2d1e (patch) | |
tree | 9759328ab145ebde9de969f027ea1b5dbd51de9c /drivers/mfd | |
parent | b63a8f587f92a423c5ea1ba7bac27798ea407ca3 (diff) |
MFD: AB8500: Provide charging as reset reason
Provide charging as reset reason when proper
ST-Ericsson ID: 354056
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5c6dd0e0a4bce63dbf43a138b132f27e2e42b1b1
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/28982
Reviewed-by: QATEST
Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab8500-sysctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index 6f4382304c2..d24c41fed7a 100644 --- a/drivers/mfd/ab8500-sysctrl.c +++ b/drivers/mfd/ab8500-sysctrl.c @@ -58,7 +58,7 @@ void ab8500_power_off(void) "Charger \"%s\" is connected with known battery." " Rebooting.\n", pss[i]); - machine_restart(NULL); + machine_restart("charging"); } } |