summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/int0002_vgpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/intel/int0002_vgpio.c')
-rw-r--r--drivers/platform/x86/intel/int0002_vgpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel/int0002_vgpio.c b/drivers/platform/x86/intel/int0002_vgpio.c
index b6708bab7c53..527d8fbc7cc1 100644
--- a/drivers/platform/x86/intel/int0002_vgpio.c
+++ b/drivers/platform/x86/intel/int0002_vgpio.c
@@ -196,7 +196,7 @@ static int int0002_probe(struct platform_device *pdev)
* IRQs into gpiolib.
*/
ret = devm_request_irq(dev, irq, int0002_irq,
- IRQF_SHARED, "INT0002", chip);
+ IRQF_ONESHOT | IRQF_SHARED, "INT0002", chip);
if (ret) {
dev_err(dev, "Error requesting IRQ %d: %d\n", irq, ret);
return ret;