Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61813
b: refs/heads/master
c: d3130f0
h: refs/heads/master
i:
  61811: 5a88ca3
v: v3
  • Loading branch information
Jean Delvare authored and Mark M. Hoffman committed Jul 19, 2007
1 parent 807a0d6 commit 8e7ff0d
Show file tree
Hide file tree
Showing 2 changed files with 6 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: fc18d6c0479d5b6da281590a8caf166d60cc748b
refs/heads/master: d3130f0e30745b406af233897a27834eb5285f45
5 changes: 5 additions & 0 deletions trunk/drivers/hwmon/w83627ehf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,11 @@ static inline void __devinit w83627ehf_init_device(struct w83627ehf_data *data)
W83627EHF_REG_TEMP_CONFIG[i],
tmp & 0xfe);
}

/* Enable VBAT monitoring if needed */
tmp = w83627ehf_read_value(data, W83627EHF_REG_VBAT);
if (!(tmp & 0x01))
w83627ehf_write_value(data, W83627EHF_REG_VBAT, tmp | 0x01);
}

static int __devinit w83627ehf_probe(struct platform_device *pdev)
Expand Down

0 comments on commit 8e7ff0d

Please sign in to comment.