summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-04-04 01:49:59 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 03:21:20 +0400
commitfb1bd9a22da3d0f2436ffa95fdc0382b89659288 (patch)
tree36305ace887f3f31c1d6497a842d50b5ad6d4e04 /drivers/rtc
parent2fb004a9b00e34908e59a1c1c5770910690a7588 (diff)
downloadlinux-fb1bd9a22da3d0f2436ffa95fdc0382b89659288.tar.xz
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 'drivers/rtc')
-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;