projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6ed02
)
rtc: rtc-twl: Switch to using threaded irq
author
Ilkka Koskinen
<ilkka.koskinen@nokia.com>
Wed, 16 Mar 2011 06:07:14 +0000
(06:07 +0000)
committer
John Stultz
<john.stultz@linaro.org>
Wed, 10 Aug 2011 22:54:25 +0000
(15:54 -0700)
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>
drivers/rtc/rtc-twl.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-twl.c
b/drivers/rtc/rtc-twl.c
index 9a81f778d6b22216469b641d0dbe44c809667fd8..1963cddbf2141ea83b62e3305e4b2401475468ab 100644
(file)
--- 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) {