public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: use IRQF_ONESHOT for 88pm860x
@ 2012-09-19  1:30 Fengguang Wu
  2012-09-19  1:32 ` [PATCH] mfd: use IRQF_ONESHOT for twl6040 Fengguang Wu
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Fengguang Wu @ 2012-09-19  1:30 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: Haojian Zhuang, LKML

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@intel.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);

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-20  0:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19  1:30 [PATCH] mfd: use IRQF_ONESHOT for 88pm860x Fengguang Wu
2012-09-19  1:32 ` [PATCH] mfd: use IRQF_ONESHOT for twl6040 Fengguang Wu
2012-09-19  6:19   ` Peter Ujfalusi
2012-09-19  1:41 ` [PATCH] mfd: use IRQF_ONESHOT for max8925 Fengguang Wu
2012-09-19 11:26 ` [PATCH] mfd: use IRQF_ONESHOT for 88pm860x Samuel Ortiz
2012-09-19 23:24 ` [PATCH] mfd: arizona: use IRQF_ONESHOT Fengguang Wu
2012-09-20  0:41   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox