summaryrefslogtreecommitdiffstats
path: root/include/linux/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen2012-06-18 18:33:47 +0200
committerGreg Kroah-Hartman2012-06-19 02:26:09 +0200
commitf5b81ddd12da71bd00b2963203c23ff929e0c182 (patch)
treeae0d93635fc5f5d98d1192f5993e6d7fa8988849 /include/linux/iio
parentstaging: slicoss: Fix a typo. (diff)
downloadkernel-qcow2-linux-f5b81ddd12da71bd00b2963203c23ff929e0c182.tar.gz
kernel-qcow2-linux-f5b81ddd12da71bd00b2963203c23ff929e0c182.tar.xz
kernel-qcow2-linux-f5b81ddd12da71bd00b2963203c23ff929e0c182.zip
iio: iio_buffer_register: Skip channels with negative scan index
It is not always the case that all channels can be used in buffered mode. This patch allows channels, which can not be used in buffered mode, to set their scan index to a negative number, which will cause iio_buffer_register to ignore the channel. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/iio')
0 files changed, 0 insertions, 0 deletions