diff options
author | Anson Huang <[email protected]> | 2013-12-24 09:43:24 -0500 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2014-01-02 10:00:16 +0800 |
commit | b46cce5902def84d35f3b043e89ab764f6c9746e (patch) | |
tree | a84be8a8f346f49f6970262179df1bf89045afc2 /lib/dynamic_debug.c | |
parent | 60acb3891ff896ab28110c170e564ba5658b4aa5 (diff) |
thermal: imx: correct suspend/resume flow
Fixes regression introduced by:
commit 37713a1e8e4c1a1067ad4c99296f78d3c82ed9c4
Author: Philipp Zabel <[email protected]>
Date: Thu Aug 1 18:33:12 2013 +0200
thermal: imx: implement thermal alarm interrupt handling
The commit 37713a1e8e4 makes imx thermal sensor always powered up as alarm
function is enabled, but the suspend callback of imx thermal returns
success only if thermal sensor is powered down, so it will always returns
fail hence break system's suspend, this patch disables imx thermal sensor
before suspend and re-enable it after resume.
Signed-off-by: Anson Huang <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions