Commit ffb8ea8a authored by Emil Velikov's avatar Emil Velikov Committed by Ben Skeggs

drm/nouveau/therm: Set the correct pwm_mode upon resume

Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: default avatarMartin Peres <martin.peres@labri.fr>
Tested-by: default avatarMartin Peres <martin.peres@labri.fr>
Tested-by: default avatarDash Four <mr.dash.four@googlemail.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent bd9c5a20
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment