Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115510
b: refs/heads/master
c: 49ae6cc
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and Jean Delvare committed Oct 17, 2008
1 parent f016e2d commit 7575997
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 4b4e7a72fda549e309919931d8a39dea4e5b4be1
refs/heads/master: 49ae6cc8005f45edadf237089c31885834f2608e
8 changes: 4 additions & 4 deletions trunk/drivers/hwmon/lm87.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,11 +867,11 @@ static void lm87_init_client(struct i2c_client *client)
lm87_write_value(client, LM87_REG_IN_MAX(0), 0xFF);
}
}
if ((config & 0x81) != 0x01) {
/* Start monitoring */

/* Make sure Start is set and INT#_Clear is clear */
if ((config & 0x09) != 0x01)
lm87_write_value(client, LM87_REG_CONFIG,
(config & 0xF7) | 0x01);
}
(config & 0x77) | 0x01);
}

static int lm87_remove(struct i2c_client *client)
Expand Down

0 comments on commit 7575997

Please sign in to comment.