commit | 0aea18abc9aeb91fc1d74c6a358d431860e99cb9 | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Fri Jun 14 18:57:57 2013 -0700 |
committer | David Keitel <dkeitel@codeaurora.org> | Tue Jun 18 11:33:13 2013 -0700 |
tree | 18edb82df74f4f2c2245f66de4fdcf9fefdb6301 | |
parent | a2dbfc70cd01d92fce668ec037c6e694f885bdce [diff] |
power: qpnp-charger: only monitor bat_therm when bat_if present If the battery interface peripheral is disabled, JEITA notifications are not required. Fix this by checking if the bat_if base address is initialized before requesting vadc notifications. Change-Id: I8b2b3132771879fce07c64d55b6fe614e20ce790 Signed-off-by: David Keitel <dkeitel@codeaurora.org>