diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2012-09-05 23:56:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-06 12:36:56 -0400 |
commit | aa49312f297550ab7ff01f64f385f51cb797f4f0 (patch) | |
tree | 19d7a73915bb4ab183277a5e57c697e808d75a30 /drivers/extcon | |
parent | cdc1a790b2c82f04378dadbac456370d158f653b (diff) |
extcon: use IRQF_ONESHOT
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci
Make sure threaded IRQs without a primary handler are always
requested with IRQF_ONESHOT.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 8bb438b7af25..758a871fcfdc 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c | |||
@@ -694,7 +694,7 @@ static int __devinit max77693_muic_probe(struct platform_device *pdev) | |||
694 | 694 | ||
695 | ret = request_threaded_irq(virq, NULL, | 695 | ret = request_threaded_irq(virq, NULL, |
696 | max77693_muic_irq_handler, | 696 | max77693_muic_irq_handler, |
697 | 0, muic_irq->name, info); | 697 | IRQF_ONESHOT, muic_irq->name, info); |
698 | if (ret) { | 698 | if (ret) { |
699 | dev_err(&pdev->dev, | 699 | dev_err(&pdev->dev, |
700 | "failed: irq request (IRQ: %d," | 700 | "failed: irq request (IRQ: %d," |