diff options
author | Kevin Hilman <khilman@ti.com> | 2012-07-11 23:02:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-12 01:04:48 +0200 |
commit | 6b91bf1a3f52f5fdf40f5aaeb09a06b4d49556cc (patch) | |
tree | 764e16ae7d9d00fcc1f8d673587a01be59089689 /crypto | |
parent | fat: fix non-atomic NFS i_pos read (diff) | |
download | linux-6b91bf1a3f52f5fdf40f5aaeb09a06b4d49556cc.tar.xz linux-6b91bf1a3f52f5fdf40f5aaeb09a06b4d49556cc.zip |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions