提交 ffb8ea8a 编写于 作者: E Emil Velikov 提交者: Ben Skeggs

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

Signed-off-by: NEmil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: NMartin Peres <martin.peres@labri.fr>
Tested-by: NMartin Peres <martin.peres@labri.fr>
Tested-by: NDash Four <mr.dash.four@googlemail.com>
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册