mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-28 20:58:22 +00:00
`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:
1 parent
e9ac105d87
commit
9d88e65c71
16 files changed
+58
-5
No files matched your search
@@ -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. */
|
||||
|
||||
|
||||
Reference in new issue
Block a user