mfd: ab8500-sysctrl: Only reboot into charging mode if battery type is known
authorJonas Aaberg <jonas.aberg@stericsson.com>
Wed, 17 Aug 2011 13:58:52 +0000 (15:58 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Feb 2013 08:28:44 +0000 (08:28 +0000)
When a charger is connected, we usually want AB8500 based systems to
reboot into charging-only mode. However, if the battery type cannot
be identified this would be futile, so we'll just shut the system
down instead.

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>

No differences found