Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361526
b: refs/heads/master
c: 13506e2
h: refs/heads/master
v: v3
  • Loading branch information
Martin Peres authored and Ben Skeggs committed Mar 18, 2013
1 parent 1cc7ff4 commit 8c1af79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4ce9246ca4708482a9a03e76f4177e9f46a13ef
refs/heads/master: 13506e2ab40ebec3be3e2fda708d40d3ba972e3e
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/nouveau/core/subdev/therm/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ probe_monitoring_device(struct nouveau_i2c_port *i2c,
struct i2c_board_info *info)
{
struct nouveau_therm_priv *priv = (void *)nouveau_therm(i2c);
struct nvbios_therm_sensor *sensor = &priv->bios_sensor;
struct i2c_client *client;

request_module("%s%s", I2C_MODULE_PREFIX, info->type);
Expand All @@ -46,8 +47,9 @@ probe_monitoring_device(struct nouveau_i2c_port *i2c,
}

nv_info(priv,
"Found an %s at address 0x%x (controlled by lm_sensors)\n",
info->type, info->addr);
"Found an %s at address 0x%x (controlled by lm_sensors, "
"temp offset %+i C)\n",
info->type, info->addr, sensor->offset_constant);
priv->ic = client;

return true;
Expand Down

0 comments on commit 8c1af79

Please sign in to comment.