[PORT FROM R2]max17042: enable fuel gauge interrupts for Vmin and 0%
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Tue, 17 Jan 2012 08:50:07 +0000 (14:20 +0530)
committerbuildbot <buildbot@intel.com>
Wed, 1 Feb 2012 18:18:03 +0000 (10:18 -0800)
commit10a6f1d0c3e5744b6d6ea18b651f2758dad6c403
tree3b3b37db38af5f7f75fdda610f596175b961b2ce
parent49efa6cb389399a84c7f59d2cf9f0d526946bf37
[PORT FROM R2]max17042: enable fuel gauge interrupts for Vmin and 0%

BZ: 20429

This patch enables FG interrupts, cleans up the existing
set_soc_intr_thresholds function and sets the voltage, SoC and
temperature thresholds to default values. Also adds the wake
capability for Low Battery condition.

Change-Id: I024b9852210419e2d1a0105680ac5365afe624b5
Orig-Change-Id: I6b60375fdf3ebb4f045d23b03c1f7c6f8ec4bd23
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-on: http://android.intel.com:8080/33508
Reviewed-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Tested-by: Gugwad, SantoshX <santoshx.gugwad@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/power/max17042_battery.c