summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mc13xxx.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-04-03 23:49:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 01:21:20 +0200
commitfb1bd9a22da3d0f2436ffa95fdc0382b89659288 (patch)
tree36305ace887f3f31c1d6497a842d50b5ad6d4e04 /drivers/rtc/rtc-mc13xxx.c
parentrtc: mc13xxx: simplify alarm_irq_enable() (diff)
downloadlinux-fb1bd9a22da3d0f2436ffa95fdc0382b89659288.tar.xz
linux-fb1bd9a22da3d0f2436ffa95fdc0382b89659288.zip
rtc: mc13xxx: fix 1Hz interrupt
1Hz interrupt is never unmasked, so no interrupts appears. This patch fix this issue. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <kernel@pengutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/rtc/rtc-mc13xxx.c2
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;