You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
431 B
13 lines
431 B
8 years ago
|
--- a/drivers/clocksource/cs5535-clockevt.c
|
||
|
+++ b/drivers/clocksource/cs5535-clockevt.c
|
||
|
@@ -129,7 +129,8 @@ static irqreturn_t mfgpt_tick(int irq, v
|
||
|
cs5535_mfgpt_write(cs5535_event_clock, MFGPT_REG_SETUP,
|
||
|
MFGPT_SETUP_CNTEN | MFGPT_SETUP_CMP2);
|
||
|
|
||
|
- cs5535_clockevent.event_handler(&cs5535_clockevent);
|
||
|
+ if (cs5535_clockevent.event_handler)
|
||
|
+ cs5535_clockevent.event_handler(&cs5535_clockevent);
|
||
|
return IRQ_HANDLED;
|
||
|
}
|
||
|
|