From: Anson Huang Date: Tue, 24 Dec 2013 14:43:24 +0000 (-0500) Subject: thermal: imx: correct suspend/resume flow X-Git-Tag: v3.14-rc1~106^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b46cce5902def84d35f3b043e89ab764f6c9746e;p=pandora-kernel.git thermal: imx: correct suspend/resume flow Fixes regression introduced by: commit 37713a1e8e4c1a1067ad4c99296f78d3c82ed9c4 Author: Philipp Zabel 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 Acked-by: Shawn Guo Signed-off-by: Zhang Rui --- Reading git-diff-tree failed