summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/sony-laptop.c
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2015-09-21 16:47:01 +0100
committerDarren Hart <dvhart@linux.intel.com>2015-10-03 09:40:30 -0700
commitdaea5a65dec21de4b1f83c05162b5cb66b1f6c4c (patch)
treeb51df8e9b5f64c48c0e114e60e26e7bebbe68c03 /drivers/platform/x86/sony-laptop.c
parentd9a427ec81e7f1f81cb30777e8fe7dc1f4d03803 (diff)
intel_mid_powerbtn: Remove misuse of IRQF_NO_SUSPEND flag
The IRQF_NO_SUSPEND flag is used to identify the interrupts that should be left enabled so as to allow them to work as expected during the suspend-resume cycle, but doesn't guarantee that it will wake the system from a suspended state, enable_irq_wake is recommended to be used for the wakeup. This patch removes the use of IRQF_NO_SUSPEND flags and uses newly introduce PM wakeup APIs dev_pm_{set,clear}_wake_irq. Cc: Darren Hart <dvhart@infradead.org> Cc: platform-driver-x86@vger.kernel.org Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/sony-laptop.c')
0 files changed, 0 insertions, 0 deletions