From: Fengguang Wu Date: Thu, 6 Sep 2012 03:56:35 +0000 (+0800) Subject: extcon: use IRQF_ONESHOT X-Git-Tag: v3.7-rc1~174^2~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa49312f297550ab7ff01f64f385f51cb797f4f0;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 8bb438b7af2..758a871fcfd 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,"