Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77349
b: refs/heads/master
c: 9ddced1
h: refs/heads/master
i:
  77347: 9996412
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Jan 27, 2008
1 parent e175913 commit 3e336ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86ec5ec872566dda74848e09904bb5380cab962e
refs/heads/master: 9ddced16bb901415ac46058a55bb842a7df8cc68
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,9 +768,10 @@ int i2c_detach_client(struct i2c_client *client)

mutex_lock(&adapter->clist_lock);
list_del(&client->list);
mutex_unlock(&adapter->clist_lock);

init_completion(&client->released);
device_unregister(&client->dev);
mutex_unlock(&adapter->clist_lock);
wait_for_completion(&client->released);

out:
Expand Down

0 comments on commit 3e336ba

Please sign in to comment.