power: max17048_battery: disable "1% SOC change" alert when enter suspend
authorHyongbin Kim <hyongbink@nvidia.com>
Fri, 26 Jul 2013 02:44:58 +0000 (11:44 +0900)
committerGabby Lee <galee@nvidia.com>
Tue, 30 Jul 2013 04:02:52 +0000 (21:02 -0700)
commitc9663967a8a691be0d9d08f01d764697bacd7980
tree58193f9360f62bf31854a6a4883ee633f63f01b3
parent33aeebec22ee7458f566694169fa91bad826b61b
power: max17048_battery: disable "1% SOC change" alert when enter suspend

For prevent system wakeup when SOC changed, clear CONFIG.ALSC when enter
suspend and reset to 1 when call 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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/power/max17048_battery.c