OSDN Git Service

Revert "Thermal: handle thermal zone device properly during system sleep"
authorRam Chandrasekar <rkumbako@codeaurora.org>
Mon, 1 Aug 2016 21:02:41 +0000 (15:02 -0600)
committerRam Chandrasekar <rkumbako@codeaurora.org>
Tue, 2 Aug 2016 22:43:48 +0000 (16:43 -0600)
commite1bce6cf5eed8a275e8285d7f57124c6fc1d9549
tree4ec387647d12102ac45dea1d74cd36e9356035eb
parentec9fd7cc51bcc302aefe26e4cbfc7f4e2590918d
Revert "Thermal: handle thermal zone device properly during system sleep"

This reverts commit <a67208e94d945ad890f8dc4734ec5fdb3219cc03>.

This commit prevented xo shutdown as during suspend exit, WSA sensor for
temperature read triggered a slimbus wakeup. Slimbus suspend mechanism
will expect a qmi message after the system has entered suspend. This
will wake the system from suspend. This happens recursively and
system will never enter suspend.

Revert this commit to avoid this issue, till the slimbus suspend
mechanism is fixed.

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