diff options
author | Ramakrishna Pallala <ramakrishna.pallala@intel.com> | 2012-09-18 21:58:07 +0530 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-09-20 14:44:45 -0700 |
commit | 1502cfe19bac2f8490e4167f2b7cb50b9759b273 (patch) | |
tree | 808e34627e5b4a68d703cceb2fed818f3195b141 /drivers/power/max17040_battery.c | |
parent | ec60ea5cd6c9f4b249de1580b8ebfa430055008c (diff) |
smb347-charger: Fix battery status reporting logic for charger faults
This patch checks for charger status register for determining the
battery charging status and reports Discharing/Charging/Not Charging/Full
accordingly.
This patch also adds the interrupt support for Safety Timer Expiration.
This interrupt is helpful in debugging the cause for charger fault.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/max17040_battery.c')
0 files changed, 0 insertions, 0 deletions