diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2012-09-18 21:30:51 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-19 06:13:09 -0400 |
commit | 5016498408de41bc4da5c79055c5698768916ec8 (patch) | |
tree | a66b1faefd4070914e9e21839f7695213691fc65 /drivers/mfd | |
parent | 9582fdcb6fcf1b596a83b161a2ea886272d2a62f (diff) |
mfd: Use IRQF_ONESHOT for 88pm860x
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci
Make sure threaded IRQs without a primary handler are always request
with IRQF_ONESHOT.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/88pm860x-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c index 0c01d7403251..ad966c413087 100644 --- a/drivers/mfd/88pm860x-core.c +++ b/drivers/mfd/88pm860x-core.c | |||
@@ -659,7 +659,7 @@ static int __devinit device_irq_init(struct pm860x_chip *chip, | |||
659 | #endif | 659 | #endif |
660 | } | 660 | } |
661 | 661 | ||
662 | ret = request_threaded_irq(chip->core_irq, NULL, pm860x_irq, flags, | 662 | ret = request_threaded_irq(chip->core_irq, NULL, pm860x_irq, flags | IRQF_ONESHOT, |
663 | "88pm860x", chip); | 663 | "88pm860x", chip); |
664 | if (ret) { | 664 | if (ret) { |
665 | dev_err(chip->dev, "Failed to request IRQ: %d\n", ret); | 665 | dev_err(chip->dev, "Failed to request IRQ: %d\n", ret); |