Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61790
b: refs/heads/master
c: 58fe080
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Mark M. Hoffman committed Jul 19, 2007
1 parent 3e4625c commit 080922b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 1550cb6d7e78c7cfdd7b48bee6809795d43d6a33
refs/heads/master: 58fe0809cc02d51b7aca05ee858c8bbb0af9e0b6
5 changes: 3 additions & 2 deletions trunk/drivers/hwmon/via686a.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,10 @@ static void via686a_init_client(struct i2c_client *client)
via686a_write_value(client, VIA686A_REG_CONFIG, (reg|0x01)&0x7F);

/* Configure temp interrupt mode for continuous-interrupt operation */
reg = via686a_read_value(client, VIA686A_REG_TEMP_MODE);
via686a_write_value(client, VIA686A_REG_TEMP_MODE,
via686a_read_value(client, VIA686A_REG_TEMP_MODE) &
!(VIA686A_TEMP_MODE_MASK | VIA686A_TEMP_MODE_CONTINUOUS));
(reg & ~VIA686A_TEMP_MODE_MASK)
| VIA686A_TEMP_MODE_CONTINUOUS);
}

static struct via686a_data *via686a_update_device(struct device *dev)
Expand Down

0 comments on commit 080922b

Please sign in to comment.