Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68727
b: refs/heads/master
c: bba891c
h: refs/heads/master
i:
  68725: 25e372d
  68723: 906cc13
  68719: a83300c
v: v3
  • Loading branch information
Krzysztof Helt authored and Mark M. Hoffman committed Oct 10, 2007
1 parent 5e74307 commit b105e83
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: c7f1f7166a83f8f5607cc03c7a6c5f936cde6b0d
refs/heads/master: bba891c24a77419e9dcf76f866bd0d8ecf66d770
8 changes: 4 additions & 4 deletions trunk/drivers/hwmon/thmc50.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ I2C_CLIENT_MODULE_PARM(adm1022_temp3, "List of adapter,address pairs "
#define THMC50_REG_DIE_CODE 0x3F
#define THMC50_REG_ANALOG_OUT 0x19
/*
* We use mirror status register for reading alarms
* so ACPI can use the primary status register.
* The mirror status register cannot be used as
* reading it does not clear alarms.
*/
#define THMC50_REG_INTR_MIRROR 0x4C
#define THMC50_REG_INTR 0x41

const static u8 THMC50_REG_TEMP[] = { 0x27, 0x26, 0x20 };
const static u8 THMC50_REG_TEMP_MIN[] = { 0x3A, 0x38, 0x2C };
Expand Down Expand Up @@ -441,7 +441,7 @@ static struct thmc50_data *thmc50_update_device(struct device *dev)
data->analog_out =
i2c_smbus_read_byte_data(client, THMC50_REG_ANALOG_OUT);
data->alarms =
i2c_smbus_read_byte_data(client, THMC50_REG_INTR_MIRROR);
i2c_smbus_read_byte_data(client, THMC50_REG_INTR);
data->last_updated = jiffies;
data->valid = 1;
}
Expand Down

0 comments on commit b105e83

Please sign in to comment.