mfd: Wake-up from Suspend MAX8997 support
commit01fdaab8ffced1deeee14d9c7d2745f37349484e
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 19 Aug 2011 05:39:40 +0000 (19 14:39 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:11 +0000 (24 14:09 +0200)
treebed9ea0b9bdface7747ca7b472b53f970f696134
parent5f40c6b6508b622ea03c6b32c57b2e26eba2e4f1
mfd: Wake-up from Suspend MAX8997 support

- Support wake-up from suspend-to-ram.
- Handle pending interrupt after a resume.
- If pdata->wakeup is enabled, by default, the device is assumed to be
capable of wakeup (the interrupt pin is connected to a wakeup-source GPIO)
and may wakeup the system (MAX8997 has a power button input pin).

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max8997.c
include/linux/mfd/max8997-private.h