Home
last modified time | relevance | path

Searched hist:"84866 ee5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/thermal/
H A Dimx_thermal.c84866ee5 Mon Sep 14 06:09:51 CDT 2015 Bai Ping <b51503@freescale.com> thermal: imx: register irq handler later in probe

The irq handler should be registered after the tempmon
module has been initialized in a known state and the
thermal_zone and cpu_cooling device have been registered
successfully. Otherwise, if the irq is triggled earlier
before thermal probe has been finished, it may lead to
'NULL' pointer kernel panic.

Signed-off-by: Bai Ping <b51503@freescale.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
84866ee5 Mon Sep 14 06:09:51 CDT 2015 Bai Ping <b51503@freescale.com> thermal: imx: register irq handler later in probe

The irq handler should be registered after the tempmon
module has been initialized in a known state and the
thermal_zone and cpu_cooling device have been registered
successfully. Otherwise, if the irq is triggled earlier
before thermal probe has been finished, it may lead to
'NULL' pointer kernel panic.

Signed-off-by: Bai Ping <b51503@freescale.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>