diff options
author | Philip Rakity <prakity@marvell.com> | 2011-09-02 04:20:01 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-11-26 04:32:46 +0400 |
commit | 00a159a5567232fbe1dd85bc611c55f53943b0fc (patch) | |
tree | 684721d12271fecb5b42daca52e79cab6bbc28d8 /tools | |
parent | b57f2f6108fbf9ce33191fb574fe94b1f3ccbff3 (diff) | |
download | op-kernel-dev-00a159a5567232fbe1dd85bc611c55f53943b0fc.zip op-kernel-dev-00a159a5567232fbe1dd85bc611c55f53943b0fc.tar.gz |
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 <prakity@marvell.com>
Signed-off-by: Ted Bennett <tbennett@marvell.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions