diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2012-01-03 14:59:40 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 10:05:06 -0800 |
| commit | 43ba1100af11f34cc67bdf6b359667cfa851e6a8 (patch) | |
| tree | ab8d9da8dc01a5a99f7b460b85fc0d0a94690cf6 /tools/perf/scripts/python | |
| parent | 2c00193fa15dc51566dc7931fe32184c99c6b317 (diff) | |
staging:iio:events: Use waitqueue lock to protect event queue
Use the waitqueue lock to protect the event queue instead of a custom mutex.
This has the advantage that we can call the waitqueue operations with the lock
held, which simplifies the code flow a bit.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
