aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8925-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/max8925-core.c')
-rw-r--r--drivers/mfd/max8925-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/max8925-core.c b/drivers/mfd/max8925-core.c
index f2ff31f3a2f0..e25a24269d51 100644
--- a/drivers/mfd/max8925-core.c
+++ b/drivers/mfd/max8925-core.c
@@ -547,7 +547,7 @@ static int max8925_irq_init(struct max8925_chip *chip, int irq,
547 goto tsc_irq; 547 goto tsc_irq;
548 } 548 }
549 549
550 ret = request_threaded_irq(irq, NULL, max8925_irq, flags, 550 ret = request_threaded_irq(irq, NULL, max8925_irq, flags | IRQF_ONESHOT,
551 "max8925", chip); 551 "max8925", chip);
552 if (ret) { 552 if (ret) {
553 dev_err(chip->dev, "Failed to request core IRQ: %d\n", ret); 553 dev_err(chip->dev, "Failed to request core IRQ: %d\n", ret);
@@ -565,7 +565,7 @@ tsc_irq:
565 chip->tsc_irq = pdata->tsc_irq; 565 chip->tsc_irq = pdata->tsc_irq;
566 566
567 ret = request_threaded_irq(chip->tsc_irq, NULL, max8925_tsc_irq, 567 ret = request_threaded_irq(chip->tsc_irq, NULL, max8925_tsc_irq,
568 flags, "max8925-tsc", chip); 568 flags | IRQF_ONESHOT, "max8925-tsc", chip);
569 if (ret) { 569 if (ret) {
570 dev_err(chip->dev, "Failed to request TSC IRQ: %d\n", ret); 570 dev_err(chip->dev, "Failed to request TSC IRQ: %d\n", ret);
571 chip->tsc_irq = 0; 571 chip->tsc_irq = 0;