Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126967
b: refs/heads/master
c: 12d66e8
h: refs/heads/master
i:
  126965: a183ce6
  126963: ef7d458
  126959: bbf5feb
v: v3
  • Loading branch information
Hans de Goede authored and Jean Delvare committed Jan 7, 2009
1 parent 306cf24 commit a69043d
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: bc27490f9164281b9e1768a5df8e0951541f90a1
refs/heads/master: 12d66e840b605265d6adf4b800cc3fc5fb410903
5 changes: 5 additions & 0 deletions trunk/drivers/hwmon/f71882fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,11 @@ static int __devinit f71882fg_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, data);

start_reg = f71882fg_read8(data, F71882FG_REG_START);
if (start_reg & 0x04) {
dev_warn(&pdev->dev, "Hardware monitor is powered down\n");
err = -ENODEV;
goto exit_free;
}
if (!(start_reg & 0x03)) {
dev_warn(&pdev->dev, "Hardware monitoring not activated\n");
err = -ENODEV;
Expand Down

0 comments on commit a69043d

Please sign in to comment.