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:
2fb004a
)
rtc: mc13xxx: fix 1Hz interrupt
author
Alexander Shiyan
<
[email protected]
>
Thu, 3 Apr 2014 21:49:59 +0000
(14:49 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 3 Apr 2014 23:21:20 +0000
(16:21 -0700)
1Hz interrupt is never unmasked, so no interrupts appears. This patch
fix this issue.
Signed-off-by: Alexander Shiyan <
[email protected]
>
Cc: Uwe Kleine-König <
[email protected]
>
Cc: Sascha Hauer <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-mc13xxx.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-mc13xxx.c
b/drivers/rtc/rtc-mc13xxx.c
index 1fa2748ab40e0deef83500974d5c50d45a88c2df..0d60dd5273d1495540c55f09c345d09a094f1369 100644
(file)
--- a/
drivers/rtc/rtc-mc13xxx.c
+++ b/
drivers/rtc/rtc-mc13xxx.c
@@
-338,7
+338,7
@@
static int __init mc13xxx_rtc_probe(struct platform_device *pdev)
priv->valid = !rtcrst_pending;
- ret = mc13xxx_irq_request
_nounmask
(mc13xxx, MC13XXX_IRQ_1HZ,
+ ret = mc13xxx_irq_request(mc13xxx, MC13XXX_IRQ_1HZ,
mc13xxx_rtc_update_handler, DRIVER_NAME, priv);
if (ret)
goto err_reset_irq_status;