diff options
author | Dmitry Torokhov <[email protected]> | 2008-10-17 17:51:12 +0200 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2008-10-17 17:51:12 +0200 |
commit | ee4cd32ee8a68e22081f698602e4315fb4272853 (patch) | |
tree | e44f309816eeb26727a23180ecede53f372705cd /net/unix/sysctl_net_unix.c | |
parent | 0a02002268bf624a8b0eaf3b4eb5c4207bd80d8b (diff) |
hwmon: (ams) Fix locking issues
Use a separate mutex to serialize input device creation/removal,
otheriwse we deadlock if we try to remove input device while it is
being polled. Also do not take ams_info.lock when it is not needed.
Signed-off-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions