mfd: ab8500-sysctrl: If a charger is present, reboot instead
authorJonas Aaberg <jonas.aberg@stericsson.com>
Wed, 17 Aug 2011 11:20:21 +0000 (13:20 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Feb 2013 08:28:43 +0000 (08:28 +0000)
commit7c34d7c2b54818078678a6507ce9a79c3d479243
tree3581b691f9e2d94b0c423c6f81b9d9d4a8883762
parent379749c46320c82df95c7909ec888da8ed1fb22c
mfd: ab8500-sysctrl: If a charger is present, reboot instead

If a charger is attached on power off, reboot the system
into charging mode instead of powering it off.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
drivers/mfd/ab8500-sysctrl.c