-
由 Yongbae Park 提交于
The initialisation of the efm32 clocksource first sets up the irq and only after that initialises the data needed for irq handling. In case this initialisation is delayed the irq handler would dereference a NULL pointer. I'm not aware of anything that could delay the process in such a way, but it's better to be safe than sorry, so setup the irq only when the clock event device is ready. Cc: stable@vger.kernel.org Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NYongbae Park <yongbae2@gmail.com> Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
7b8f10da