Skip to content

Commit ab27a20

Browse files
ywang29H. Peter Anvin
authored andcommitted
intel_mid_powerbtn: mark irq as IRQF_NO_SUSPEND
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]>
1 parent d1d0589 commit ab27a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/intel_mid_powerbtn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static int __devinit mfld_pb_probe(struct platform_device *pdev)
7878

7979
input_set_capability(input, EV_KEY, KEY_POWER);
8080

81-
error = request_threaded_irq(irq, NULL, mfld_pb_isr, 0,
81+
error = request_threaded_irq(irq, NULL, mfld_pb_isr, IRQF_NO_SUSPEND,
8282
DRIVER_NAME, input);
8383
if (error) {
8484
dev_err(&pdev->dev, "Unable to request irq %d for mfld power"

0 commit comments

Comments
 (0)