power: max17048: disable SC alert in LP0
authorHyongbin Kim <hyongbink@nvidia.com>
Fri, 26 Jul 2013 02:44:58 +0000 (11:44 +0900)
committerGabby Lee <galee@nvidia.com>
Mon, 14 Oct 2013 00:16:27 +0000 (17:16 -0700)
commit07d24b02292a789c09c5788f9bfe150b41eaaa11
treedbb6cb51284341df4f9f41c4b08281751ce41520
parent3abbb0a039dfef8048f68cafdf0eba2068ec3eda
power: max17048: disable SC alert in LP0

For prevent system wakeup when SOC changed, clear CONFIG.ALSC when enter
suspend and re-set to 1 when resume.
In low SOC, we can wakeup from HD(SOC low) alert.

Bug 1333630

Change-Id: I535b6a29311d61a76c2984b8e413db50f3eced64
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/253969
(cherry picked from commit c9663967a8a691be0d9d08f01d764697bacd7980)
Reviewed-on: http://git-master/r/289146
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
drivers/power/max17048_battery.c