mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
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>
This commit is contained in:
parent
2fb004a9b0
commit
fb1bd9a22d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user