summaryrefslogtreecommitdiffstats
path: root/drivers/iio/Kconfig
diff options
context:
space:
mode:
authorJonathan Cameron2012-06-30 21:06:00 +0200
committerJonathan Cameron2012-11-10 11:17:27 +0100
commit92d1079b281f89f1c65c6aece3cfab4fb422c797 (patch)
treee593bbfae9a9fdaa9a1cc8500f99fb1064f2050c /drivers/iio/Kconfig
parentstaging:iio:in kernel users: Add a data field for channel specific info. (diff)
downloadkernel-qcow2-linux-92d1079b281f89f1c65c6aece3cfab4fb422c797.tar.gz
kernel-qcow2-linux-92d1079b281f89f1c65c6aece3cfab4fb422c797.tar.xz
kernel-qcow2-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/Kconfig6
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"