mfd: max77663: Set sleep enable bit before enter into suspend
authorMin-wuk Lee <mlee@nvidia.com>
Fri, 4 Nov 2011 07:51:27 +0000 (16:51 +0900)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:50:00 +0000 (21:50 -0800)
commit9a3a79d87bbb1bb483c8d0394accb4502bc457dc
tree3b00fe462987a2ff4aabc96689707576c17c7d20
parentc48a361cd4a7466a774f4314c2aabdc73493e5be
mfd: max77663: Set sleep enable bit before enter into suspend

The sleep enable is required that AP can be placed MAX77663 into sleep mode
by pulling EN1 input low.

Bug 849360

Original Author : Jinyoung Park

Reviewed-on: http://git-master/r/59477
(cherry picked from commit 469106a1f8cf8d080f06ae0d2e8d0b2aa4bf3e4b)

Reviewed-on: http://git-master/r/62378
(cherry picked from commit 42c8b2466ead1a9382b87d9753afad7d3d7b9b72)

Change-Id: Id205c691bf629c080a533e5d38ef2f3823d35703
Reviewed-on: http://git-master/r/63758
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rbab33031a6556f229a0bf6aef57f906a95152340
drivers/mfd/max77663-core.c