]> 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>
Thu, 6 Oct 2011 14:43:57 +0000 (16:43 +0200)
commit2ae3c60a9f6cf96719fce860e61ae50a1607ca4d
treefa4bc7c4a72e7a3e5fab6e1603579d25f4a6eabd
parentf70937719fca5e5e43cc57dcf7cebf10e5de4307
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