Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent bd9c5a20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}