linux/drivers/iio/imu
Paul Cercueil c2a8b623a0 iio: adis16400: Compute the scan mask from channel indices
We unfortunately can't use ~0UL for the scan mask to indicate that the
only valid scan mask is all channels selected. The IIO core needs the exact
mask to work correctly and not a super-set of it. So calculate the masked
based on the channels that are available for a particular device.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Fixes: 5eda3550a3 ("staging:iio:adis16400: Preallocate transfer message")
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-05-16 10:58:36 +01:00
..
inv_mpu6050 Merge 4.0-rc7 into staging-next 2015-04-07 11:03:02 +02:00
adis16400_buffer.c iio: adis16400: Remove unused variable 2014-07-03 21:47:01 +01:00
adis16400_core.c iio: adis16400: Compute the scan mask from channel indices 2015-05-16 10:58:36 +01:00
adis16400.h iio: adis16400: Compute the scan mask from channel indices 2015-05-16 10:58:36 +01:00
adis16480.c iio: imu: adis16480 switch sampling frequency attr to core support 2014-07-07 10:00:59 +01:00
adis_buffer.c iio:adis_lib: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:57 +01:00
adis_trigger.c iio: imu: Use iio_trigger_get for indio_dev->trig assignment 2015-03-28 13:51:40 +00:00
adis.c iio:imu: Add support for the ADIS16480 and similar IMUs 2012-11-20 21:28:51 +00:00
Kconfig iio: imu: kmx61: Add support for data ready triggers 2014-12-12 13:49:30 +00:00
kmx61.c Merge 4.0-rc7 into staging-next 2015-04-07 11:03:02 +02:00
Makefile iio: imu: Add support for Kionix KMX61 sensor 2014-12-12 13:43:54 +00:00