2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 22:35:23 +00:00

Fix byte writes used by eeprom.c. Similar to a recent fix made

to i2c-nforce2.c. Patch by Hans-Frieder Vogt <hfvogt@arcor.de>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2127 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2003-12-01 19:39:00 +00:00
parent 24c728587e
commit 0247cfa944

View File

@@ -198,7 +198,7 @@ s32 amd8111_access(struct i2c_adapter * adap, u16 addr, unsigned short flags,
case I2C_SMBUS_BYTE:
if (read_write == I2C_SMBUS_WRITE)
amd_ec_write(smbus, AMD_SMB_DATA, data->byte);
amd_ec_write(smbus, AMD_SMB_CMD, command);
protocol |= AMD_SMB_PRTCL_BYTE;
break;