diff options
author | Jonathan Cameron <jic23@kernel.org> | 2012-06-30 20:06:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-10 10:17:27 +0000 |
commit | 92d1079b281f89f1c65c6aece3cfab4fb422c797 (patch) | |
tree | e593bbfae9a9fdaa9a1cc8500f99fb1064f2050c /drivers/iio/Kconfig | |
parent | 0464415dd21785aa8e8b12dbc939fcb5ca52f464 (diff) | |
download | blackbird-op-linux-92d1079b281f89f1c65c6aece3cfab4fb422c797.tar.gz blackbird-op-linux-92d1079b281f89f1c65c6aece3cfab4fb422c797.zip |
staging:iio: add a callback buffer for in kernel push interface
This callback buffer is meant to be opaque to users, but basically
adds a very simple pass through buffer to which data may be
pushed when it is inserted into the buffer list.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/Kconfig')
-rw-r--r-- | drivers/iio/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index fc937aca71fb..65ae734c607d 100644 --- a/drivers/iio/Kconfig +++ b/drivers/iio/Kconfig @@ -20,6 +20,12 @@ config IIO_BUFFER if IIO_BUFFER +config IIO_BUFFER_CB +boolean "IIO callback buffer used for push in-kernel interfaces" + help + Should be selected by any drivers that do-inkernel push + usage. That is, those where the data is pushed to the consumer. + config IIO_KFIFO_BUF select IIO_TRIGGER tristate "Industrial I/O buffering based on kfifo" |