linux/drivers/iio/imu/inv_mpu6050
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
..
Kconfig iio: imu: inv_mpu6050: Add i2c mux for by pass 2014-12-12 12:28:26 +00:00
Makefile
inv_mpu_core.c iio:inv-mpu6050: Fix inconsistency for the scale channel 2015-03-14 18:36:21 +00:00
inv_mpu_iio.h iio: imu: inv_mpu6050: Add i2c mux for by pass 2014-12-12 12:28:26 +00:00
inv_mpu_ring.c iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo 2015-03-14 18:36:17 +00:00
inv_mpu_trigger.c imu: inv_mpu6050: cleanup on error check 2015-01-27 18:49:58 +00:00