diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-02-11 16:09:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-19 00:22:51 +0300 |
commit | b174baf4b79a067b58a77b86893c55d2c018d6f4 (patch) | |
tree | 986bfcbff3fe99fc0de3b9369c543286504029f1 /drivers/staging/iio/Kconfig | |
parent | d5857d65b5f7fab78c69da4085f0ce85a0399b25 (diff) | |
download | linux-b174baf4b79a067b58a77b86893c55d2c018d6f4.tar.xz |
staging:iio:kfifo buffer implementation
A very simple use of a kfifo as an alternative for the ring_sw
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/Kconfig')
-rw-r--r-- | drivers/staging/iio/Kconfig | 9 |
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 |