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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 31 May 2016, Hans Ulli Kroll wrote:
> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]