commit | 43ba1100af11f34cc67bdf6b359667cfa851e6a8 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Jan 03 14:59:40 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 09 10:05:06 2012 -0800 |
tree | ab8d9da8dc01a5a99f7b460b85fc0d0a94690cf6 | |
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>