linux-stable/drivers/staging/iio
Lars-Peter Clausen 43ba1100af 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>
2012-02-09 10:05:06 -08:00
..
accel staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
adc staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
addac Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
cdc Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
dac Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
dds Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
Documentation staging:iio: Drop {mark,unmark}_in_use callbacks 2011-12-22 13:38:10 -08:00
gyro staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
impedance-analyzer staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
imu staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
light staging:iio: isl29018: add of_match table for device-tree probing 2012-02-09 10:03:51 -08:00
magnetometer staging:iio: ak8975: add of_match table for device-tree probing 2012-02-09 10:03:51 -08:00
meter staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
resolver Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
trigger staging:iio: iio_trigger contains defunct owner field. Remove it. 2011-12-16 10:56:26 -08:00
buffer.h staging:iio: Drop {mark,unmark}_in_use callbacks 2011-12-22 13:38:10 -08:00
events.h
iio.h staging:iio: Make sure a device is only opened once at a time 2011-12-22 13:38:08 -08:00
iio_core.h staging:iio: Factor out event handling into its own file 2012-02-09 10:05:06 -08:00
iio_core_trigger.h
iio_dummy_evgen.c
iio_dummy_evgen.h
iio_simple_dummy.c
iio_simple_dummy.h
iio_simple_dummy_buffer.c staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
iio_simple_dummy_events.c
industrialio-buffer.c staging:iio: Drop {mark,unmark}_in_use callbacks 2011-12-22 13:38:10 -08:00
industrialio-core.c staging:iio: Factor out event handling into its own file 2012-02-09 10:05:06 -08:00
industrialio-event.c staging:iio:events: Use waitqueue lock to protect event queue 2012-02-09 10:05:06 -08:00
industrialio-trigger.c Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging 2012-01-09 12:18:17 -08:00
Kconfig
kfifo_buf.c staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
kfifo_buf.h staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
Makefile staging:iio: Factor out event handling into its own file 2012-02-09 10:05:06 -08:00
ring_hw.h
ring_sw.c staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
ring_sw.h staging:iio: Setup buffer access functions when allocating the buffer 2012-02-09 10:03:51 -08:00
sysfs.h
TODO
trigger.h staging:iio: iio_trigger contains defunct owner field. Remove it. 2011-12-16 10:56:26 -08:00
trigger_consumer.h
types.h staging:iio: Fix typo 2011-12-08 12:15:44 -08:00