Skip to content

Commit

Permalink
drm/nouveau/therm: Set the correct pwm_mode upon resume
Browse files Browse the repository at this point in the history
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Tested-by: Martin Peres <martin.peres@labri.fr>
Tested-by: Dash Four <mr.dash.four@googlemail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Emil Velikov authored and Ben Skeggs committed Sep 4, 2013
1 parent bd9c5a2 commit ffb8ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/core/subdev/therm/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ffb8ea8

Please sign in to comment.