Home
last modified time | relevance | path

Searched hist:ee551a10006f3728c231bbe9c30635ff53250dbc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iio/
H A Dindustrialio-buffer.cdiff ee551a10006f3728c231bbe9c30635ff53250dbc Mon Nov 25 08:56:00 CST 2013 Lars-Peter Clausen <lars@metafoo.de> 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>