`functionality' checking for clients implemented

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@584 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-09-27 14:19:46 +00:00
1 parent e9ac105d87
commit 9d88e65c71
16 files changed
+58 -5

No files matched your search

+5
View File
@@ -138,6 +138,11 @@ int matorb_detect(struct i2c_adapter *adapter, int address, int kind)
}
#endif
if (! i2c_check_functionality(adapter,I2C_FUNC_SMBUS_WRITE_BYTE |
I2C_FUNC_SMBUS_WRITE_BYTE_DATA))
goto ERROR0;
/* Here, we have to do the address registration check for the I2C bus.
But that is not yet implemented. */