]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mfd: Wake-up from Suspend MAX8997 support
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 19 Aug 2011 05:39:40 +0000 (14:39 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Sep 2011 10:47:39 +0000 (12:47 +0200)
commit6ed83792dac9464a75ebc9e9c5de701627dbdafa
treeabafbfc4a96ec64fd382f739c664cfd5202e3193
parente61f95902cb3aa97fea5f9f0052a142e8c548c0f
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