linux-stable/drivers/staging/iio
Lars-Peter Clausen d045b9d21b staging:iio:adc:ad7298: Use new triggered buffer setup helper function
Use the new triggered buffer setup helper function to allocate and register
buffer and pollfunc.

The previous code was not passing the temperature channel to iio_buffer_register
since the temperature channel can not be used in buffered mode. With the new
helper functions it is not possible to do this, instead the scan index for the
temperature channel is set to -1 which will cause iio_buffer_register to ignore
the channel. (Also While we are at it also assign the symbolic constant instead
of the raw value to the channel address for the temperature channel).

Also as part of the conversion drop scan_timestamp being enabled by default,
since it is a left over of an earlier cleanup.

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>
2012-06-18 17:26:09 -07:00
..
accel staging: iio: Remove superfluous flush_scheduled_work 2012-06-15 14:36:26 -07:00
adc staging:iio:adc:ad7298: Use new triggered buffer setup helper function 2012-06-18 17:26:09 -07: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 staging: iio:: fix some typos 2012-06-15 14:39:18 -07:00
frequency staging:iio:frequency: Use dev_to_iio_dev() 2012-05-14 13:39:21 -07:00
gyro staging: iio: Remove superfluous flush_scheduled_work 2012-06-15 14:36:26 -07:00
impedance-analyzer staging:iio:impedance-analyzer: Use dev_to_iio_dev() 2012-05-14 13:39:21 -07:00
imu staging:iio:adis16400: Fix ADIS163xx AUX_ADC address 2012-06-15 14:36:25 -07:00
light staging: iio: Remove version.h header file inclusion 2012-06-04 21:19:42 -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: Streamline API function naming 2012-04-29 21:23:49 -04: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: Move core headers to include/linux/iio 2012-04-25 11:01:43 -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
iio_simple_dummy_buffer.c staging: iio: fix typos in simple dummy driver 2012-06-15 14:36:26 -07:00
iio_simple_dummy_events.c staging: iio: Fix typo in iio 2012-05-08 16:04:12 -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