From 3fc03b06aa8d72cb63b39c360f011442e51e4b9c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 22 Jun 2013 02:20:42 +0100 Subject: [PATCH 1/5] drm/nouveau/therm: Set the correct pwm_mode upon resume Signed-off-by: Emil Velikov Signed-off-by: Martin Peres --- drivers/gpu/drm/nouveau/core/subdev/therm/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/base.c b/drivers/gpu/drm/nouveau/core/subdev/therm/base.c index a00a5a7..3e9d941 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/therm/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/therm/base.c @@ -268,7 +268,7 @@ _nouveau_therm_init(struct nouveau_object *object) return ret; if (priv->suspend >= 0) - nouveau_therm_fan_mode(therm, priv->mode); + nouveau_therm_fan_mode(therm, priv->suspend); priv->sensor.program_alarms(therm); return 0; } -- 1.8.3.4