lkml.org 
[lkml]   [2016]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv2] clocksource:fix kernel panic due late cs5535_clockevent
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

\
 
 \ /
  Last update: 2016-06-01 09:21    [W:0.020 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site