From: Philip Rakity Date: Fri, 2 Sep 2011 02:20:01 +0000 (+0200) Subject: max8925_power: Check at probe time if power to set online X-Git-Tag: v3.3-rc1~98^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a159a5567232fbe1dd85bc611c55f53943b0fc;p=pandora-kernel.git max8925_power: Check at probe time if power to set online The interrupt for ac on/off can be missed during boot time. Check if online by seeing if we have power. We choose 0.5V since this is high enough to avoid random reading from a input that could be floating if no charger. Signed-off-by: Philip Rakity Signed-off-by: Ted Bennett Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed