Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61804
b: refs/heads/master
c: 90205c6
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Mark M. Hoffman committed Jul 19, 2007
1 parent c790f90 commit b9be48a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3faa1ffb4f4be7d10715f4b003ff7b27d14eae26
refs/heads/master: 90205c6cbb8fd9880bf798903a99f5b8903455e2
2 changes: 2 additions & 0 deletions trunk/drivers/hwmon/smsc47b397.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
REG: count of 90kHz pulses / revolution */
static int fan_from_reg(u16 reg)
{
if (reg == 0 || reg == 0xffff)
return 0;
return 90000 * 60 / reg;
}

Expand Down

0 comments on commit b9be48a

Please sign in to comment.