aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@labri.fr>2013-03-05 11:24:04 +0100
committerBen Skeggs <bskeggs@redhat.com>2013-03-18 11:15:26 +1000
commit13506e2ab40ebec3be3e2fda708d40d3ba972e3e (patch)
tree1d18d20e9efc99eb19c9fa239e74e8518a628b2a /drivers/gpu/drm/nouveau/core/subdev/therm/base.c
parentdrm/nouveau/therm: remove some confusion introduced by therm_mode (diff)
downloadlinux-dev-13506e2ab40ebec3be3e2fda708d40d3ba972e3e.tar.xz
linux-dev-13506e2ab40ebec3be3e2fda708d40d3ba972e3e.zip
drm/nouveau/therm-ic: the temperature is off by sensor_constant, warn the user
Signed-off-by: Martin Peres <martin.peres@labri.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/therm/base.c')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/therm/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/base.c b/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
index 321a55bc25a7..3f8083f41be8 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
@@ -313,8 +313,8 @@ nouveau_therm_create_(struct nouveau_object *parent,
int
nouveau_therm_preinit(struct nouveau_therm *therm)
{
- nouveau_therm_ic_ctor(therm);
nouveau_therm_sensor_ctor(therm);
+ nouveau_therm_ic_ctor(therm);
nouveau_therm_fan_ctor(therm);
nouveau_therm_fan_mode(therm, NOUVEAU_THERM_CTRL_NONE);