Commit 50164984 authored by Fengguang Wu's avatar Fengguang Wu Committed by Samuel Ortiz

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 9582fdcb
...@@ -659,7 +659,7 @@ static int __devinit device_irq_init(struct pm860x_chip *chip, ...@@ -659,7 +659,7 @@ static int __devinit device_irq_init(struct pm860x_chip *chip,
#endif #endif
} }
ret = request_threaded_irq(chip->core_irq, NULL, pm860x_irq, flags, ret = request_threaded_irq(chip->core_irq, NULL, pm860x_irq, flags | IRQF_ONESHOT,
"88pm860x", chip); "88pm860x", chip);
if (ret) { if (ret) {
dev_err(chip->dev, "Failed to request IRQ: %d\n", ret); dev_err(chip->dev, "Failed to request IRQ: %d\n", ret);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment