Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361523
b: refs/heads/master
c: eea4eb1
h: refs/heads/master
i:
  361521: ea2b5a3
  361519: 5edb07b
v: v3
  • Loading branch information
Martin Peres authored and Ben Skeggs committed Mar 18, 2013
1 parent 25a6e47 commit 9ff86b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 7ae9712c60698ae2870fd115cb3ef4449a615509
refs/heads/master: eea4eb14a0f74f806e7a458f174f880744a68bdd
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/core/subdev/therm/nv40.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ nv40_sensor_setup(struct nouveau_therm *therm)
if (style == NEW_STYLE) {
nv_mask(therm, 0x15b8, 0x80000000, 0);
nv_wr32(therm, 0x15b0, 0x80003fff);
mdelay(10); /* wait for the temperature to stabilize */
mdelay(20); /* wait for the temperature to stabilize */
return nv_rd32(therm, 0x15b4) & 0x3fff;
} else if (style == OLD_STYLE) {
nv_wr32(therm, 0x15b0, 0xff);
mdelay(20); /* wait for the temperature to stabilize */
return nv_rd32(therm, 0x15b4) & 0xff;
} else
return -ENODEV;
Expand Down

0 comments on commit 9ff86b3

Please sign in to comment.