[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120919013051.GA14171@localhost>
Date: Wed, 19 Sep 2012 09:30:51 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Samuel Ortiz <sameo@...ux.intel.com>
Cc: Haojian Zhuang <haojian.zhuang@...vell.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] 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@...el.com>
---
Please take the patch only if it's a positive warning. Thanks!
drivers/mfd/88pm860x-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux.orig/drivers/mfd/88pm860x-core.c 2012-09-18 08:22:36.377180459 +0800
+++ linux/drivers/mfd/88pm860x-core.c 2012-09-19 09:27:14.335969275 +0800
@@ -498,7 +498,7 @@ static int __devinit device_irq_init(str
#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);
if (ret) {
dev_err(chip->dev, "Failed to request IRQ: %d\n", ret);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists