From: Alexander Shiyan Date: Thu, 3 Apr 2014 21:49:59 +0000 (-0700) Subject: rtc: mc13xxx: fix 1Hz interrupt X-Git-Tag: submit/tizen/20160607.132125~4845^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb1bd9a22da3d0f2436ffa95fdc0382b89659288;p=sdk%2Femulator%2Femulator-kernel.git rtc: mc13xxx: fix 1Hz interrupt 1Hz interrupt is never unmasked, so no interrupts appears. This patch fix this issue. Signed-off-by: Alexander Shiyan Cc: Uwe Kleine-König Cc: Sascha Hauer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;