diff --git a/CHANGES b/CHANGES index 2759cca5..fa18a9c8 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,7 @@ SVN-HEAD Module gl518sm: Fix fan speed reading (2.6 backport) Module gl520sm: Fix fan speed reading (2.6 backport) Module lm90: Use generic i2c reads during detection (2.6 backport) + Module w83627hf: Enable VBAT monitoring (#2282, 2.6 backport) Program decode-dimms.pl: Fix DDR2 SDRAM module speed decoding Update manufacturer IDs. Program decode-vaio.pl: Private data might not be readable by non-root users diff --git a/kernel/chips/w83627hf.c b/kernel/chips/w83627hf.c index f4054615..688dd376 100644 --- a/kernel/chips/w83627hf.c +++ b/kernel/chips/w83627hf.c @@ -987,6 +987,11 @@ static void w83627hf_init_client(struct i2c_client *client) (w83627hf_read_value(client, W83781D_REG_CONFIG) & 0xf7) | 0x01); + + /* Enable VBAT monitoring if needed */ + tmp = w83627hf_read_value(client, W83781D_REG_VBAT); + if (!(tmp & 0x01)) + w83627hf_write_value(client, W83781D_REG_VBAT, tmp | 0x01); } static void w83627hf_update_client(struct i2c_client *client)