summaryrefslogtreecommitdiff
path: root/drivers/input/misc/retu-pwrbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/retu-pwrbutton.c')
-rw-r--r--drivers/input/misc/retu-pwrbutton.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/misc/retu-pwrbutton.c b/drivers/input/misc/retu-pwrbutton.c
index 0c8ac60e2..30b459b6b 100644
--- a/drivers/input/misc/retu-pwrbutton.c
+++ b/drivers/input/misc/retu-pwrbutton.c
@@ -63,7 +63,8 @@ static int retu_pwrbutton_probe(struct platform_device *pdev)
input_set_drvdata(idev, rdev);
error = devm_request_threaded_irq(&pdev->dev, irq,
- NULL, retu_pwrbutton_irq, 0,
+ NULL, retu_pwrbutton_irq,
+ IRQF_ONESHOT,
"retu-pwrbutton", idev);
if (error)
return error;