Skip to content

Commit

Permalink
rtc: rtc-twl: Switch to using threaded irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ilkka Koskinen authored and John Stultz committed Aug 10, 2011
1 parent bf6ed02 commit dec35d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-twl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dec35d1

Please sign in to comment.