From: Ilkka Koskinen Date: Wed, 16 Mar 2011 06:07:14 +0000 (+0000) Subject: rtc: rtc-twl: Switch to using threaded irq X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dec35d19c4ec65b94df3b27b6e373f0d48c9cd32;p=mv-sheeva.git 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 Acked-by: Balaji T K Signed-off-by: John Stultz --- diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index 9a81f778d6b..1963cddbf21 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) {