linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc-twl: Switch to using threaded irq
@ 2011-03-16 16:07 Ilkka Koskinen
  2011-04-13  7:41 ` Krishnamoorthy, Balaji T
  0 siblings, 1 reply; 8+ messages in thread
From: Ilkka Koskinen @ 2011-03-16 16:07 UTC (permalink / raw)
  To: a.zummo, tony; +Cc: rtc-linux, balajitk, linux-omap

The driver is accessing to i2c bus in interrupt handler.
Therefore, it should use threaded irq.

Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
---
 drivers/rtc/rtc-twl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c
index ed1b868..2715b96 100644
--- a/drivers/rtc/rtc-twl.c
+++ b/drivers/rtc/rtc-twl.c
@@ -475,7 +475,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev)
 	if (ret < 0)
 		goto out1;
 
-	ret = request_irq(irq, twl_rtc_interrupt,
+	ret = request_threaded_irq(irq, NULL, twl_rtc_interrupt,
 				IRQF_TRIGGER_RISING,
 				dev_name(&rtc->dev), rtc);
 	if (ret < 0) {
-- 
1.7.0.4


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

end of thread, other threads:[~2011-08-10 22:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 16:07 [PATCH] rtc-twl: Switch to using threaded irq Ilkka Koskinen
2011-04-13  7:41 ` Krishnamoorthy, Balaji T
2011-05-05  7:51   ` ilkka.koskinen
2011-05-12 23:24     ` John Stultz
2011-05-18 19:20       ` Ilkka Koskinen
2011-05-31  8:51         ` Sebastian Reichel
2011-06-27 16:45           ` Sebastian Reichel
2011-08-10 22:44             ` John Stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).