aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/iio/Kconfig')
-rw-r--r--drivers/staging/iio/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig
index e2ac07d86110..6775bf90e2f1 100644
--- a/drivers/staging/iio/Kconfig
+++ b/drivers/staging/iio/Kconfig
@@ -29,6 +29,15 @@ config IIO_SW_RING
with the intention that some devices would be able to write
in interrupt context.
+config IIO_KFIFO_BUF
+ select IIO_TRIGGER
+ tristate "Industrial I/O buffering based on kfifo"
+ help
+ A simple fifo based on kfifo. Use this if you want a fifo
+ rather than a ring buffer. Note that this currently provides
+ no buffer events so it is up to userspace to work out how
+ often to read from the buffer.
+
endif # IIO_RINGBUFFER
config IIO_TRIGGER