From 00a159a5567232fbe1dd85bc611c55f53943b0fc Mon Sep 17 00:00:00 2001 From: Philip Rakity Date: Fri, 2 Sep 2011 04:20:01 +0200 Subject: [PATCH] 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-format-patch failed