OSDN Git Service

Revert "thermal-core: Add a lock to tz_notify_trip()"
authorRam Chandrasekar <rkumbako@codeaurora.org>
Wed, 7 Jan 2015 00:46:41 +0000 (17:46 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:08:27 +0000 (11:08 -0700)
commita651fa6a5688c8e7234e094309992e2454e95e52
tree2bbc7c2d5e62b2ebe3d59b0bd28d2982ef2d41f7
parent14b0886b043fab90050f26bee9ea0ead073f1f2b
Revert "thermal-core: Add a lock to tz_notify_trip()"

This reverts commit 383ac33a1e2ab375e41387cf05132533ae178c36.

The temperature sensor drivers registering with thermal
core framework can call the thermal_sensor_trip() API in
interrupt context. This might cause potential thermal
reset issues because the interrupt might be disabled till
this API returns.

Change-Id: I8d6dfc55386fbdea8e51e7abbb0e7632208c6c38
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
drivers/thermal/thermal_core.c