Kevin Hilman 6b91bf1a3f drivers/rtc/rtc-twl.c: fix threaded IRQ to use IRQF_ONESHOT
Requesting a threaded interrupt without a primary handler and without
IRQF_ONESHOT is dangerous, and after commit 1c6c6952 ("genirq: Reject
bogus threaded irq requests"), these requests are rejected.  This causes
->probe() to fail, and the RTC driver not to be availble.

To fix, add IRQF_ONESHOT to the IRQ flags.

Tested on OMAP3730/OveroSTORM and OMAP4430/Panda board using rtcwake to
wake from system suspend multiple times.

Signed-off-by: Kevin Hilman <khilman@ti.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-11 16:04:48 -07:00
..
2012-03-27 16:47:35 -07:00
2009-02-11 14:25:36 -08:00
2012-03-23 16:58:40 -07:00
2011-06-01 19:29:39 -07:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2011-08-26 17:26:35 -07:00
2012-03-23 16:58:39 -07:00
2012-03-28 12:34:33 -07:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2009-04-02 01:05:32 +00:00
2012-03-23 16:58:39 -07:00
2012-03-29 18:02:10 -07:00
2012-03-23 16:58:39 -07:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2012-03-23 16:58:39 -07:00
2012-03-23 16:58:39 -07:00
2012-05-20 17:27:07 +02:00