commit | e1a85694e08d03efae9e08fdb292dfd4870837bc | [log] [tgz] |
---|---|---|
author | Heikki Krogerus <heikki.krogerus@nokia.com> | Mon Nov 08 12:22:40 2010 +0200 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Thu Nov 18 16:56:21 2010 +0300 |
tree | 5909033ce66fa7f3ce108cb87e16fb1eadbf1da3 | |
parent | a4607d9f5cbae1aad7f86e8204b57d66c0e14e36 [diff] |
isp1704_charger: Detect charger after probe If the device is booted up with cable connected, or the module is loaded after plugging in the cable, the notification has come and gone, so not relying on it at probe time. Instead this checks the VBUS level manually after probe. Signed-off-by: Heikki Krogerus <heikki.krogerus@nokia.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>