linux/drivers/staging/iio
Lars-Peter Clausen 8c2c6ba6aa staging:iio:ad7793: Use iio_validate_scan_mask_onehot
Only one of the channels of the ad7793 may be sampled at a time. Use the new
validate_scan_mask callback and the iio_validate_scan_mask_onehot function to
implement this restriction. Previously this was implemented using
available_scan_masks, but this requires a individual scan mask for each channel.

Also the previous code was adding the scan index of the timestamp channel to
each available scan mask, this is not required though since the timestamp
channel is not restricted by the available scan masks and can be enabled or
disabled independently. So the new code does not have to take care of this.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-07-09 18:18:15 +01:00
..
accel staging:iio:accel:adis16204 support the rss channel via chan spec. 2012-06-30 10:15:25 +01:00
adc staging:iio:ad7793: Use iio_validate_scan_mask_onehot 2012-07-09 18:18:15 +01:00
addac staging:iio:addac: Use dev_to_iio_dev() 2012-05-14 13:39:20 -07:00
cdc staging:iio:cdc: Use dev_to_iio_dev() 2012-05-14 13:39:21 -07:00
Documentation iio staging: add recently added modifiers to iio_event_monitor 2012-07-08 10:39:57 +01:00
frequency staging:iio:frequency: Use dev_to_iio_dev() 2012-05-14 13:39:21 -07:00
gyro staging:iio:gyro:adis16260 drop sysfs interface for manual device reset. 2012-06-30 10:15:17 +01:00
impedance-analyzer staging:iio:impedance-analyzer: Use dev_to_iio_dev() 2012-05-14 13:39:21 -07:00
imu staging:iio:imu:adis16400 drop sysfs interface for manual device reset. 2012-06-30 10:15:20 +01:00
light iio staging: fix spelling of suppression in isl29018 2012-06-18 17:29:29 -07:00
magnetometer staging:iio:magnetometer:ak8975: remove 'mode' attribute 2012-06-07 14:32:59 +09:00
meter staging:iio:meter: Use dev_to_iio_dev() 2012-05-14 13:39:22 -07:00
resolver staging:iio:resolver: Use dev_to_iio_dev() 2012-05-14 13:39:22 -07:00
trigger staging:iio:trigger: Use to_iio_trigger() instead of dev_get_drvdata() 2012-06-22 21:08:10 -07:00
iio_dummy_evgen.c IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
iio_dummy_evgen.h staging:iio:dummy Add event support + fake event generator 2011-10-17 15:36:30 -07:00
iio_hwmon.c iio: Rename _st_ functions to loose the bit that meant the staging version. 2012-06-30 10:15:12 +01:00
iio_simple_dummy_buffer.c staging: iio: fix typo, improve timestamp alignment comment 2012-06-22 21:24:27 -07:00
iio_simple_dummy_events.c staging: iio: Fix typo in iio 2012-05-08 16:04:12 -07:00
iio_simple_dummy.c staging: iio: fix typos in simple dummy driver 2012-06-15 14:36:26 -07:00
iio_simple_dummy.h staging:iio:dummy Add buffered reading support 2011-10-17 15:36:30 -07:00
Kconfig staging:iio: Move DAC drivers out of staging 2012-06-05 14:02:25 +09:00
Makefile staging:iio: Move DAC drivers out of staging 2012-06-05 14:02:25 +09:00
ring_hw.h staging:iio: replacing term ring with buffer in the IIO core. 2011-09-26 17:31:53 -07:00
ring_sw.c staging: iio:: fix some typos 2012-06-15 14:39:18 -07:00
ring_sw.h IIO: Move core headers to include/linux/iio 2012-04-25 11:01:43 -07:00
TODO staging: iio: Fix typo in iio 2012-05-08 16:04:12 -07:00