diff options
author | Alexander Shiyan <[email protected]> | 2014-04-03 14:49:59 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-04-03 16:21:20 -0700 |
commit | fb1bd9a22da3d0f2436ffa95fdc0382b89659288 (patch) | |
tree | 36305ace887f3f31c1d6497a842d50b5ad6d4e04 | |
parent | 2fb004a9b00e34908e59a1c1c5770910690a7588 (diff) |
rtc: mc13xxx: fix 1Hz interrupt
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]>
-rw-r--r-- | drivers/rtc/rtc-mc13xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index 1fa2748ab40e..0d60dd5273d1 100644 --- 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; |