diff options
| author | Sudeep Holla <[email protected]> | 2015-09-21 15:47:01 +0000 |
|---|---|---|
| committer | Darren Hart <[email protected]> | 2015-10-03 16:40:30 +0000 |
| commit | daea5a65dec21de4b1f83c05162b5cb66b1f6c4c (patch) | |
| tree | b51df8e9b5f64c48c0e114e60e26e7bebbe68c03 /lib/mpi/mpicoder.c | |
| parent | compal-laptop: Add charge control limit (diff) | |
| download | kernel-daea5a65dec21de4b1f83c05162b5cb66b1f6c4c.tar.gz kernel-daea5a65dec21de4b1f83c05162b5cb66b1f6c4c.zip | |
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Sudeep Holla <[email protected]>
Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
