Files
linux/drivers
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-06-20 14:39:36 -07:00
2012-05-24 16:22:53 -04:00
2012-05-02 00:25:13 +02:00
2012-05-08 12:35:06 +02:00
2012-07-04 15:55:19 +08:00
2012-06-20 14:39:36 -07:00
2012-06-14 20:29:40 -05:00
2012-05-07 09:56:39 +08:00
2012-05-16 12:46:37 -04:00
2012-06-26 16:14:34 -07:00
2012-04-18 13:15:51 -07:00