mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
hopefully fix byte writes used by eeprom.c
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2096 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
bd947e0fe5
commit
7d16642a33
1 file changed
+1
-1
@@ -143,7 +143,7 @@ s32 nforce2_access(struct i2c_adapter * adap, u16 addr, unsigned short flags,
|
||||
|
||||
case I2C_SMBUS_BYTE:
|
||||
if (read_write == I2C_SMBUS_WRITE)
|
||||
outb_p(data->byte, NVIDIA_SMB_DATA);
|
||||
outb_p(command, NVIDIA_SMB_CMD);
|
||||
protocol |= NVIDIA_SMB_PRTCL_BYTE;
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user