diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-07-11 14:02:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-11 16:04:44 -0700 |
commit | 3cfd16a551dc0c188160e1765168a04baf2d3198 (patch) | |
tree | ae022884c2c48bf815f8e3306ac4185580bab16d /drivers/rtc | |
parent | 4bf2bba3750f10aa9e62e6949bc7e8329990f01b (diff) | |
download | linux-3.10-3cfd16a551dc0c188160e1765168a04baf2d3198.tar.gz linux-3.10-3cfd16a551dc0c188160e1765168a04baf2d3198.tar.bz2 linux-3.10-3cfd16a551dc0c188160e1765168a04baf2d3198.zip |
drivers/rtc/rtc-ab8500.c: use IRQF_ONESHOT when requesting a threaded IRQ
This driver's IRQ registration is failing because the kernel now forces
IRQs to be ONESHOT if no IRQ handler is passed.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-ab8500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index 4bcf9ca2818..b11a2ecef3f 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c @@ -422,7 +422,7 @@ static int __devinit ab8500_rtc_probe(struct platform_device *pdev) } err = request_threaded_irq(irq, NULL, rtc_alarm_handler, - IRQF_NO_SUSPEND, "ab8500-rtc", rtc); + IRQF_NO_SUSPEND | IRQF_ONESHOT, "ab8500-rtc", rtc); if (err < 0) { rtc_device_unregister(rtc); return err; |