diff options
Diffstat (limited to 'kernel/drivers/input/misc/wm831x-on.c')
-rw-r--r-- | kernel/drivers/input/misc/wm831x-on.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/input/misc/wm831x-on.c b/kernel/drivers/input/misc/wm831x-on.c index 59d4f7bcb..1b44de265 100644 --- a/kernel/drivers/input/misc/wm831x-on.c +++ b/kernel/drivers/input/misc/wm831x-on.c @@ -99,7 +99,8 @@ static int wm831x_on_probe(struct platform_device *pdev) wm831x_on->dev->dev.parent = &pdev->dev; ret = request_threaded_irq(irq, NULL, wm831x_on_irq, - IRQF_TRIGGER_RISING, "wm831x_on", + IRQF_TRIGGER_RISING | IRQF_ONESHOT, + "wm831x_on", wm831x_on); if (ret < 0) { dev_err(&pdev->dev, "Unable to request IRQ: %d\n", ret); |