thermal: msm_tsense: fix request irq ordering
Triggering an irq might cause an update to the thermal zone device. If the thermal zone device is not initialized then a kernel panic ensues. Request the irq after the thermal devices have been initialized, this way the isr will be called only after it is initialized. Signed-off-by:Abhijeet Dharmapurikar <adharmap@codeaurora.org> (cherry picked from commit 8e85855631a198d27d422cd680c051d0e948e276) Change-Id: Ieaa753e870ea86d0c56860b4fe2faceba4c2451a Signed-off-by:
Shruthi Krishna <skrish@codeaurora.org> Signed-off-by:
David Brown <davidb@codeaurora.org>
Loading
Please register or sign in to comment