From: Jonas Aaberg Date: Wed, 17 Aug 2011 13:58:52 +0000 (+0200) Subject: mfd: ab8500-sysctrl: Only reboot into charging mode if battery type is known X-Git-Tag: v3.9-rc1~92^2~12^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0903940dcddcaa3f567a1a2308b0c55e2ce0643b;p=pandora-kernel.git mfd: ab8500-sysctrl: Only reboot into charging mode if battery type is known 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 Signed-off-by: Jonas Aaberg Reviewed-by: Karl KOMIEROWSKI --- Reading git-diff-tree failed