From: Martin Peres Date: Mon, 12 Aug 2013 02:48:52 +0000 (-0400) Subject: drm/nouveau/therm: survive to suspend/resume cycles X-Git-Tag: v3.12-rc1~136^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a62a766062c268d08c1aacf2e18e057e277db4;p=pandora-kernel.git drm/nouveau/therm: survive to suspend/resume cycles Therm uses 3 ptimer alarms. Two to drive the fan and one for polling the temperature. When suspending/resuming, alarms will never be fired. As we are checking if there isn't an alarm pending before rescheduling another one, we end up never checking temperature or updating the fan speed. This commit also adds debug messages to be able to spot more easily if this case happens again in the future. Sorry for the spam if you activate the debug level though. Tested-by: Dash Four v2: - fix temperature polling too Signed-off-by: Martin Peres Tested-by: Martin Peres Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed