Changeset 2166

Show
Ignore:
Timestamp:
12/14/03 00:39:23 (9 years ago)
Author:
mds
Message:

fix byte writes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/i2c-amd756.c

    r2122 r2166  
    216216                outw_p(((addr & 0x7f) << 1) | (read_write & 0x01), 
    217217                       SMB_HOST_ADDRESS); 
    218                 /* TODO: Why only during write? */ 
    219218                if (read_write == I2C_SMBUS_WRITE) 
    220                         outb_p(command, SMB_HOST_COMMAND); 
     219                        outb_p(command, SMB_HOST_DATA); 
    221220                size = AMD756_BYTE; 
    222221                break;