Thread (15 messages) 15 messages, 4 authors, 2019-11-29

Re: [PATCH v2 5/5] rtc: rtc-rc5t619: add ricoh rc5t619 RTC driver

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2019-11-29 08:55:09
Also in: lkml

On 29/11/2019 07:59:40+0100, Andreas Kemnade wrote:
quoted
quoted
+	/* disable interrupt */
+	err = rc5t619_rtc_alarm_enable(&pdev->dev, 0);
+	if (err)
+		return err;  
Is it really useful to disable the alarm to reenable them later?
Well, yes, seems to be nonsense.
Am I right that I do not need to prevent alarm irqs between
alloc() and register()?
That's fine, the core will be ready to handle alarms after alloc()


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help