summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-09-06 05:56:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-06 18:36:56 +0200
commitaa49312f297550ab7ff01f64f385f51cb797f4f0 (patch)
tree19d7a73915bb4ab183277a5e57c697e808d75a30 /drivers/extcon
parentextcon: extcon-arizona depends on INPUT (diff)
downloadlinux-aa49312f297550ab7ff01f64f385f51cb797f4f0.tar.xz
linux-aa49312f297550ab7ff01f64f385f51cb797f4f0.zip
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.c2
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)
ret = request_threaded_irq(virq, NULL,
max77693_muic_irq_handler,
- 0, muic_irq->name, info);
+ IRQF_ONESHOT, muic_irq->name, info);
if (ret) {
dev_err(&pdev->dev,
"failed: irq request (IRQ: %d,"