WSL2-Linux-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
frequency
gyro
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
Makefile
TODO
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