Thread (12 messages) 12 messages, 4 authors, 2015-09-01

[rtc-linux] Re: [PATCH v5 2/3] rtc: omap: Add internal clock enabling support

From: Alexandre Belloni <hidden>
Date: 2015-08-21 21:36:44

Hi,

On 18/08/2015 at 15:11:15 +0530, Keerthy wrote :
quoted hunk ↗ jump to hunk
@@ -681,6 +688,9 @@ static int __exit omap_rtc_remove(struct platform_device *pdev)
 
 	device_init_wakeup(&pdev->dev, 0);
 
+	if (!IS_ERR(rtc->clk))
+		clk_disable_unprepare(rtc->clk);
+
 	rtc->type->unlock(rtc);
 	/* leave rtc running, but disable irqs */
Is it actually still running once the clock is disabled?
 	rtc_write(rtc, OMAP_RTC_INTERRUPTS_REG, 0);


-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help