linux/drivers/iio/imu
Adriana Reus af5e1a6831 iio:inv-mpu6050: Fix inconsistency for the scale channel
Fix inconsistency in the semantics of the scale attribute.
For scale the write_raw function was considering the scale table index
and writing the appropriate value into the range register, while
for read_raw it was outputting the actual scale.
Fix this behaviour and adhere to the iio ABI specification.

Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Reviewed-by: Viorel Suman <viorel.suman@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-03-14 18:36:21 +00:00
..
inv_mpu6050 iio:inv-mpu6050: Fix inconsistency for the scale channel 2015-03-14 18:36:21 +00:00
adis16400_buffer.c iio: adis16400: Remove unused variable 2014-07-03 21:47:01 +01:00
adis16400_core.c iio: imu: adis16400: Fix sign extension 2015-01-26 21:06:42 +00:00
adis16400.h iio: adis16400: Set timestamp as the last element in chan_spec 2014-02-08 11:26:06 +00: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:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +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 iio: fix drivers that check buffer->scan_mask 2015-03-07 19:17:07 +00:00
Makefile iio: imu: Add support for Kionix KMX61 sensor 2014-12-12 13:43:54 +00:00