Skip to content
Commit 84866ee5 authored by Bai Ping's avatar Bai Ping Committed by Eduardo Valentin
Browse files

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: default avatarBai Ping <b51503@freescale.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 452e01b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment