commit | 84866ee5818e95f6e97194656777c10ac24cb9d3 | [log] [tgz] |
---|---|---|
author | Bai Ping <b51503@freescale.com> | Mon Sep 14 19:09:51 2015 +0800 |
committer | Eduardo Valentin <edubezval@gmail.com> | Fri Oct 30 11:22:47 2015 -0700 |
tree | ea3fd5a849ebc5dd8d3daf8dc543037223df6fef | |
parent | 452e01b3dbb54f743a200c722981ced169888860 [diff] |
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>