diff options
| author | Ilkka Koskinen <[email protected]> | 2011-03-16 06:07:14 +0000 |
|---|---|---|
| committer | John Stultz <[email protected]> | 2011-08-10 22:54:25 +0000 |
| commit | dec35d19c4ec65b94df3b27b6e373f0d48c9cd32 (patch) | |
| tree | 9711a20214d7308cd4662f9354e52a0bdcdc8ca5 | |
| parent | rtc: ep93xx: Fix 'rtc' may be used uninitialized warning (diff) | |
| download | kernel-dec35d19c4ec65b94df3b27b6e373f0d48c9cd32.tar.gz kernel-dec35d19c4ec65b94df3b27b6e373f0d48c9cd32.zip | |
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 <[email protected]>
Acked-by: Balaji T K <[email protected]>
Signed-off-by: John Stultz <[email protected]>
| -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) if (ret < 0) goto out1; - ret = request_irq(irq, twl_rtc_interrupt, + ret = request_threaded_irq(irq, NULL, twl_rtc_interrupt, IRQF_TRIGGER_RISING, dev_name(&rtc->dev), rtc); if (ret < 0) { |
