projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d0589
)
intel_mid_powerbtn: mark irq as IRQF_NO_SUSPEND
author
Yong Wang
<
[email protected]
>
Fri, 4 May 2012 21:02:44 +0000
(14:02 -0700)
committer
H. Peter Anvin
<
[email protected]
>
Fri, 4 May 2012 21:40:52 +0000
(14:40 -0700)
So that the power button still wakes up the platform.
Signed-off-by: Pierre Tardy <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Tested-by: Kangkai Yin <
[email protected]
>
Tested-by: Yong Wang <
[email protected]
>
Signed-off-by: Kirill A. Shutemov <
[email protected]
>
Signed-off-by: Alan Cox <
[email protected]
>
Cc: Matthew Garrett <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: H. Peter Anvin <
[email protected]
>
drivers/platform/x86/intel_mid_powerbtn.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel_mid_powerbtn.c
b/drivers/platform/x86/intel_mid_powerbtn.c
index 0a3594c7e91263fcf7d1498e4e3634d4d8690ac2..bcbad8452a6f0ca5bb818b684837e207ffef7b5f 100644
(file)
--- a/
drivers/platform/x86/intel_mid_powerbtn.c
+++ b/
drivers/platform/x86/intel_mid_powerbtn.c
@@
-78,7
+78,7
@@
static int __devinit mfld_pb_probe(struct platform_device *pdev)
input_set_capability(input, EV_KEY, KEY_POWER);
- error = request_threaded_irq(irq, NULL, mfld_pb_isr,
0
,
+ error = request_threaded_irq(irq, NULL, mfld_pb_isr,
IRQF_NO_SUSPEND
,
DRIVER_NAME, input);
if (error) {
dev_err(&pdev->dev, "Unable to request irq %d for mfld power"