OpenCloudOS-Kernel/drivers/staging/iio
Lars-Peter Clausen 225d59adf1 iio: Specify supported modes for buffers
For each buffer type specify the supported device modes for this buffer.
This allows us for devices which support multiple different operating modes
to pick the correct operating mode based on the modes supported by the
attached buffers.

It also prevents that buffers with conflicting modes are attached
to a device at the same time or that a buffer with a non-supported mode is
attached to a device (e.g. in-kernel callback buffer to a device only
supporting hardware mode).

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-06-01 11:31:12 +01:00
..
Documentation Staging: fixed multiple spelling errors. 2015-05-08 09:23:58 +02:00
accel iio: Specify supported modes for buffers 2015-06-01 11:31:12 +01:00
adc Staging: iio: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-10 20:31:43 +01:00
addac Staging: iio: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-10 20:31:43 +01:00
cdc staging: iio: cdc: Don't put an else right after a return 2014-09-19 17:49:39 -07:00
frequency Staging: iio: Use braces on all arms of if statement 2015-03-16 16:14:05 +01:00
gyro Staging: iio: gyro: Added description for config symbol. 2014-10-20 10:29:08 +08:00
impedance-analyzer Staging: iio: impedance-analyzer: Remove explicit NULL comparison 2015-04-01 17:23:21 +02:00
light staging:iio:light: Add some missing brackets to make sure code works as intended. 2015-05-07 10:42:17 +01:00
magnetometer First set of new drivers, cleanups and functionality for IIO in the 4.1 cycle. 2015-03-24 22:53:52 +01:00
meter Staging: iio: meter: Remove explicit NULL comparison 2015-04-01 17:23:20 +02:00
resolver Staging: iio: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-10 20:31:43 +01:00
trigger Staging: iio: trigger: Remove explicit NULL comparison 2015-04-01 17:23:20 +02:00
Kconfig staging: iio: dummy: Fix undefined symbol build error 2015-03-14 18:36:20 +00:00
Makefile
TODO Staging/iio: add TODO reminder 2013-10-01 16:19:17 +01:00
iio_dummy_evgen.c staging: iio_simple_dummy: fix return types 2015-06-01 11:21:46 +01:00
iio_dummy_evgen.h staging: iio_simple_dummy: fix return types 2015-06-01 11:21:46 +01:00
iio_simple_dummy.c staging: iio_simple_dummy: fix module_param type 2015-06-01 11:22:22 +01:00
iio_simple_dummy.h staging: iio_simple_dummy: fix return types 2015-06-01 11:21:46 +01:00
iio_simple_dummy_buffer.c Staging: iio: iio_simple_dummy: Remove explicit NULL comparison 2015-04-01 17:23:20 +02:00
iio_simple_dummy_events.c staging: iio_simple_dummy: fix return types 2015-06-01 11:21:46 +01:00
ring_hw.h staging: iio: Add #include guards to header files 2014-09-28 22:19:04 -04:00