projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf2bba
)
drivers/rtc/rtc-ab8500.c: use IRQF_ONESHOT when requesting a threaded IRQ
author
Lee Jones
<
[email protected]
>
Wed, 11 Jul 2012 21:02:16 +0000
(14:02 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 11 Jul 2012 23:04:44 +0000
(16:04 -0700)
This driver's IRQ registration is failing because the kernel now forces
IRQs to be ONESHOT if no IRQ handler is passed.
Signed-off-by: Lee Jones <
[email protected]
>
Cc: Alessandro Zummo <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-ab8500.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-ab8500.c
b/drivers/rtc/rtc-ab8500.c
index 4bcf9ca2818ae740eadd016df48cc0461da23f6e..b11a2ecef3ff8bfba420d3d1d03ecb8995526ad6 100644
(file)
--- a/
drivers/rtc/rtc-ab8500.c
+++ b/
drivers/rtc/rtc-ab8500.c
@@
-422,7
+422,7
@@
static int __devinit ab8500_rtc_probe(struct platform_device *pdev)
}
err = request_threaded_irq(irq, NULL, rtc_alarm_handler,
- IRQF_NO_SUSPEND, "ab8500-rtc", rtc);
+ IRQF_NO_SUSPEND
| IRQF_ONESHOT
, "ab8500-rtc", rtc);
if (err < 0) {
rtc_device_unregister(rtc);
return err;