Changeset 5257

Show
Ignore:
Timestamp:
05/19/08 10:53:02 (6 years ago)
Author:
khali
Message:

Fix functionality flags. Backport from Linux 2.6.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5253 r5257  
    55  Library: Don't choke on unrecognized devices, part 2 
    66  Module asb100: Remove some dead code (2.6 backport) 
     7  Module i2c-amd756: Fix functionality flags (2.6 backport) 
    78  Module i2c-amd756-s4882: Fix an error path (2.6 backport) 
    89  Module i2c-i801: Drop broken I2C block read support 
  • lm-sensors/trunk/kernel/busses/i2c-amd756.c

    r4057 r5257  
    207207        int i, len; 
    208208 
    209         /** TODO: Should I supporte the 10-bit transfers? */ 
    210209        switch (size) { 
    211         /* TODO: proc call is supported, I'm just not sure what to do here... */ 
    212210        case I2C_SMBUS_QUICK: 
    213211                outw_p(((addr & 0x7f) << 1) | (read_write & 0x01), 
     
    313311        return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE | 
    314312            I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA | 
    315             I2C_FUNC_SMBUS_BLOCK_DATA | I2C_FUNC_SMBUS_PROC_CALL; 
     313            I2C_FUNC_SMBUS_BLOCK_DATA; 
    316314} 
    317315