mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
(Phil) last MUTEX change.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@470 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
38cd39211c
commit
18a07111cd
1 file changed
+1
-1
@@ -171,7 +171,7 @@ int matorb_detect(struct i2c_adapter *adapter, int address, int kind)
|
||||
matorb_list[i] = new_client;
|
||||
new_client->id = i;
|
||||
data->valid = 0;
|
||||
data->update_lock = MUTEX;
|
||||
init_MUTEX(&data->update_lock);
|
||||
|
||||
/* Tell the I2C layer a new client has arrived */
|
||||
if ((err = i2c_attach_client(new_client)))
|
||||
|
||||
Reference in new issue
Block a user