aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/industrialio-trigger.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-11-25 14:56:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-12-03 20:22:29 +0000
commitee551a10006f3728c231bbe9c30635ff53250dbc (patch)
tree987679d5c4abbb9bc6cd67d6507145d6ee047ef9 /drivers/iio/industrialio-trigger.c
parent355c1a14d4009a43e4d1f9cb42a382f0a94d01c4 (diff)
iio: Add support for blocking IO on buffers
Currently the IIO buffer interface only allows non-blocking reads. This patch adds support for blocking IO. In blocking mode the thread will go to sleep if no data is available and will wait for the buffer implementation to signal that new data is available by waking up the buffers waitqueue. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-trigger.c')
0 files changed, 0 insertions, 0 deletions