Thread (1 message) 1 message, 1 author, 2016-06-01

Re: [PATCHv2] clocksource:fix kernel panic due late cs5535_clockevent

From: Thomas Gleixner <hidden>
Date: 2016-06-01 07:00:52
Also in: lkml

On Tue, 31 May 2016, Hans Ulli Kroll wrote:
quoted hunk
@@ -152,6 +153,9 @@ static int __init cs5535_mfgpt_init(void)
 	}
 	cs5535_event_clock = timer;
 
+	clockevents_config_and_register(&cs5535_clockevent, MFGPT_HZ,
+					0xF, 0xFFFE);
+
 	/* Set up the IRQ on the MFGPT side */
 	if (cs5535_mfgpt_setup_irq(timer, MFGPT_CMP2, &timer_irq)) {
 		printk(KERN_ERR DRV_NAME ": Could not set up IRQ %d\n",
So what happens if that fails?

Thanks,

	tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help