mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-21 19:51:45 +00:00
Backport SMBus PEC support rewrite from Linux 2.6:
The new SMBus PEC implementation doesn't support PEC emulation on non-PEC non-I2C SMBus masters, so we can drop all related code. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3177 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c12c82c13d
commit
5467346e7b
4 files changed
+5
-28
No files matched your search
@@ -208,13 +208,6 @@ s32 nforce2_access(struct i2c_adapter * adap, u16 addr, unsigned short flags,
|
||||
printk(KERN_WARNING "i2c-nforce2.o: I2C_SMBUS_BLOCK_PROC_CALL not supported!\n");
|
||||
return -1;
|
||||
|
||||
case I2C_SMBUS_WORD_DATA_PEC:
|
||||
case I2C_SMBUS_BLOCK_DATA_PEC:
|
||||
case I2C_SMBUS_PROC_CALL_PEC:
|
||||
case I2C_SMBUS_BLOCK_PROC_CALL_PEC:
|
||||
printk(KERN_WARNING "i2c-nforce2.c: Unexpected software PEC transaction %d\n.", size);
|
||||
return -1;
|
||||
|
||||
default:
|
||||
printk(KERN_WARNING "i2c-nforce2.c: Unsupported transaction %d\n", size);
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user