Commit dec35d19 authored by Ilkka Koskinen's avatar Ilkka Koskinen Committed by John Stultz

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: default avatarIlkka Koskinen <ilkka.koskinen@nokia.com>
Acked-by: default avatarBalaji T K <balajitk@ti.com>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent bf6ed027
...@@ -462,7 +462,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev) ...@@ -462,7 +462,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev)
if (ret < 0) if (ret < 0)
goto out1; goto out1;
ret = request_irq(irq, twl_rtc_interrupt, ret = request_threaded_irq(irq, NULL, twl_rtc_interrupt,
IRQF_TRIGGER_RISING, IRQF_TRIGGER_RISING,
dev_name(&rtc->dev), rtc); dev_name(&rtc->dev), rtc);
if (ret < 0) { if (ret < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment