diff options
author | Ilkka Koskinen <ilkka.koskinen@nokia.com> | 2011-03-16 02:07:14 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-08-10 18:54:25 -0400 |
commit | dec35d19c4ec65b94df3b27b6e373f0d48c9cd32 (patch) | |
tree | 9711a20214d7308cd4662f9354e52a0bdcdc8ca5 /drivers/rtc | |
parent | bf6ed027bcc93f8d54d321fe87f0434b25699eb1 (diff) |
rtc: rtc-twl: Switch to using threaded irq
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>
Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | 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 9a81f778d6b2..1963cddbf214 100644 --- a/drivers/rtc/rtc-twl.c +++ b/drivers/rtc/rtc-twl.c | |||
@@ -462,7 +462,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev) | |||
462 | if (ret < 0) | 462 | if (ret < 0) |
463 | goto out1; | 463 | goto out1; |
464 | 464 | ||
465 | ret = request_irq(irq, twl_rtc_interrupt, | 465 | ret = request_threaded_irq(irq, NULL, twl_rtc_interrupt, |
466 | IRQF_TRIGGER_RISING, | 466 | IRQF_TRIGGER_RISING, |
467 | dev_name(&rtc->dev), rtc); | 467 | dev_name(&rtc->dev), rtc); |
468 | if (ret < 0) { | 468 | if (ret < 0) { |