drm/nouveau/therm: turn on fan only when threshold hit in positive direction
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 3 Feb 2013 17:17:41 +0000 (18:17 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:41 +0000 (16:00 +1000)
commit134fc0327552f3ebee2cdcb50b956a31029661c0
treea46fa83de278f70560cd866682dfef62f8635c37
parenta84fa1a32e4c224edd16c825a571fe27ab366913
drm/nouveau/therm: turn on fan only when threshold hit in positive direction

+ the same for shutdown threshold - seems impossible, but shutdown can fail.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/therm/temp.c