diff options
author | Bai Ping <b51503@freescale.com> | 2015-09-14 13:09:51 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-10-30 19:22:47 +0100 |
commit | 84866ee5818e95f6e97194656777c10ac24cb9d3 (patch) | |
tree | ea3fd5a849ebc5dd8d3daf8dc543037223df6fef /drivers/thermal/armada_thermal.c | |
parent | thermal: rockhip: fix setting thermal shutdown polarity (diff) | |
download | linux-84866ee5818e95f6e97194656777c10ac24cb9d3.tar.xz linux-84866ee5818e95f6e97194656777c10ac24cb9d3.zip |
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>
Diffstat (limited to 'drivers/thermal/armada_thermal.c')
0 files changed, 0 insertions, 0 deletions