iio: Add new operating mode for non triggered sw buffers
authorKarol Wrona <k.wrona@samsung.com>
Wed, 7 Jan 2015 18:36:11 +0000 (19:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Jan 2015 22:53:38 +0000 (22:53 +0000)
commit03af03ad7c6723e0f87568e4ffe66ceb9608bfe7
tree201889e95ec97cbeceac1dbc243395aa9db425e4
parentab80496a813aefafd0e33619b8b6c061a4d5c3f4
iio: Add new operating mode for non triggered sw buffers

There was a need for non triggered software buffer type.  It can be used when
triggered model does not fit and INDIO_BUFFER_HARDWARE causes confusion because
the data stream can be obtained not directly form hardware backend.

Suggested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Karol Wrona <k.wrona@samsung.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-buffer.c
include/linux/iio/iio.h