Changeset 5121

Show
Ignore:
Timestamp:
02/09/08 11:01:12 (10 months ago)
Author:
khali
Message:

w83627hf: Enable VBAT monitoring (#2282, 2.6 backport).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r5120 r5121  
    1515  Module gl520sm: Fix fan speed reading (2.6 backport) 
    1616  Module lm90: Use generic i2c reads during detection (2.6 backport) 
     17  Module w83627hf: Enable VBAT monitoring (#2282, 2.6 backport) 
    1718  Program decode-dimms.pl: Fix DDR2 SDRAM module speed decoding 
    1819                           Update manufacturer IDs. 
  • lm-sensors/trunk/kernel/chips/w83627hf.c

    r4328 r5121  
    988988                                                W83781D_REG_CONFIG) & 0xf7) 
    989989                            | 0x01); 
     990 
     991        /* Enable VBAT monitoring if needed */ 
     992        tmp = w83627hf_read_value(client, W83781D_REG_VBAT); 
     993        if (!(tmp & 0x01)) 
     994                w83627hf_write_value(client, W83781D_REG_VBAT, tmp | 0x01); 
    990995} 
    991996